添加ai智能体标书接口,修改ai_agent仅暴露一个方法供外部调用

This commit is contained in:
2025-12-02 19:28:37 +08:00
parent 11d857e000
commit bc1f19542f
3 changed files with 259 additions and 58 deletions

View File

@ -64,3 +64,7 @@ class DetectionResponse(BaseModel):
originalImgSize: List[int]
targets: List[dict]
processing_errors: List[str] = []
# 智能体相关
OLLAMA_MODEL = "alibayram/Qwen3-30B-A3B-Instruct-2507:latest" # 当前最强本地模型
OLLAMA_BASE_URL = "http://192.168.110.5:11434"