add optimal_way_to using dijkstra

This commit is contained in:
abnerhexu
2026-01-23 22:45:58 +08:00
parent 77264c172f
commit 5c500f1d11
6 changed files with 583 additions and 21 deletions

View File

@@ -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: