Merge pull request #4162 from kingbri1/staging More expression fixes for main API

cb8fd4f66390344eda01cee7cffadbfd0b4b92b9

Cohee <18619528+Cohee1207@users.noreply.github.com>

Signed
2 files changed, +2 -1Ignore whitespace
public/scripts/extensions/expressions/index.js+1 -0
@@ -978,6 +978,7 @@ function getJsonSchema(emotions) {
978978 required: [
979979 'emotion',
980980 ],
981+ additionalProperties: false,
981982 };
982983}
983984
public/scripts/extensions/expressions/settings.html+1 -1
@@ -40,7 +40,7 @@
4040 <i class="fa-solid fa-clock-rotate-left fa-sm"></i>
4141 </div>
4242 </label>
4343 <small data-i18n="Will be used if theUsed APIin doesn'taddition supportto JSON schemas orand function calling.">Will be used if theUsed APIin doesn'taddition supportto JSON schemas orand function calling.</small>
4444 <textarea id="expression_llm_prompt" type="text" class="text_pole textarea_compact autoSetHeight" rows="2" placeholder="Use &lcub;&lcub;labels&rcub;&rcub; special macro."></textarea>
4545 </div>
4646 <div class="expression_prompt_type_block flex-container flexFlowColumn">