add optimal_way_to using dijkstra
This commit is contained in:
@@ -263,7 +263,12 @@ class UAVControlAgent:
|
||||
"api_key": llm_api_key,
|
||||
"base_url": final_base_url
|
||||
}
|
||||
|
||||
if llm_model == "MiniMax-M2.1":
|
||||
reasoning = {
|
||||
"effort": "low", # 'low', 'medium', or 'high'
|
||||
"summary": "auto", # 'detailed', 'auto', or None
|
||||
}
|
||||
# TODO: MiniMax的API对OpenAI的兼容性有点问题。。。
|
||||
self.llm = ChatOpenAI(**kwargs)
|
||||
|
||||
if self.debug:
|
||||
|
||||
Reference in New Issue
Block a user