fix bug : there could be a default LLM_MODEL_NAME when no system config exist.

This commit is contained in:
Liu Zhicong
2024-08-12 16:37:19 -07:00
parent f0737e3882
commit c1f3ae4fea
2 changed files with 1295 additions and 831 deletions
+1293 -828
View File
File diff suppressed because it is too large Load Diff
+2 -3
View File
@@ -36,7 +36,7 @@ update_knowledge_graph($op_name,$params)
[behavior.on_message] [behavior.on_message]
type="AgentMessageProcess" type="AgentMessageProcess"
model_name="llm_default_model" #model_name="llm_default_model"
mutil_model="gpt-4-vision-preview" mutil_model="gpt-4-vision-preview"
asr_model="openai-whisper" asr_model="openai-whisper"
tts_model="tts-1" tts_model="tts-1"
@@ -202,9 +202,8 @@ llm_context.actions.enable = ["agent.workspace.update_todo"]
llm_context.functions.enable = ["agent.workspace.read_file","agent.workspace.list_dir","system.shell.exec","system.shell.run_code","aigc.image_2_text","aigc.voice_2_text","web.search.duckduckgo"] llm_context.functions.enable = ["agent.workspace.read_file","agent.workspace.list_dir","system.shell.exec","system.shell.run_code","aigc.image_2_text","aigc.voice_2_text","web.search.duckduckgo"]
[behavior.self_thinking] [behavior.self_thinking2]
# self thing的主要目的是对各种chatlog,worklog进行分析,并更新面向人和事的summary。 # self thing的主要目的是对各种chatlog,worklog进行分析,并更新面向人和事的summary。
# TODO,先不支持worklog,先支持好chatlog
type="AgentSelfThinking" type="AgentSelfThinking"
process_description=""" process_description="""
You are very good at thinking and summarizing what you have already happened。Your input is chat history and work records,After you think about it, you will follow the requirements below to generate abstract. You are very good at thinking and summarizing what you have already happened。Your input is chat history and work records,After you think about it, you will follow the requirements below to generate abstract.