Merge pull request 'v0.2.6-fix_too_many_decision' (#3) from v0.2.6-fix_too_many_decision into v0.2.6

Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
ton
2026-07-09 13:16:22 +00:00
+7 -5
View File
@@ -118,9 +118,9 @@ function decisionMaker(state::T1, text2textInstructLLM::Function, llmFormatName:
<possible SQL for this question> <possible SQL for this question>
$similarSQL_ $similarSQL_
</possible SQL for this question> </possible SQL for this question>
<your earlier actions> <assistant_action_history>
$(GeneralUtils.dict_to_string_html(state["action_history"])) $(GeneralUtils.dict_to_string_html(state["action_history"]))
</your earlier actions> </assistant_action_history>
<error_note> <error_note>
$errornote $errornote
<error_note> <error_note>
@@ -284,14 +284,16 @@ function evaluator(state::T1, text2textInstructLLM::Function, llmFormatName::Str
usermsg = usermsg =
""" """
<internal_context_for_assistant> <internal_context_for_assistant>
<table_schema>
$(state["context"]["table_schema"]) $(state["context"]["table_schema"])
</internal_context_for_assistant> </table_schema>
<customer question> <customer question>
$(state["chathistory"][2]["content"][1]["text"]) $(state["chathistory"][2]["content"][1]["text"])
</customer question> </customer question>
<trajectories> <assistant_action_history>
$(GeneralUtils.dict_to_string_html(state["action_history"])) $(GeneralUtils.dict_to_string_html(state["action_history"]))
</trajectories> </assistant_action_history>
</internal_context_for_assistant>
""" """
msg = Dict( msg = Dict(