config.py 897 B

12345678910111213141516171819202122232425262728293031323334
  1. """
  2. 项目配置
  3. """
  4. from agent.core.runner import RunConfig
  5. from agent.tools.builtin.knowledge import KnowledgeConfig
  6. RUN_CONFIG = RunConfig(
  7. model="qwen3.5-plus",
  8. temperature=0.3,
  9. max_iterations=500,
  10. extra_llm_params={"extra_body": {"enable_thinking": True}},
  11. agent_type="analyst",
  12. name="内容树需求归纳",
  13. knowledge=KnowledgeConfig(
  14. enable_extraction=False,
  15. enable_completion_extraction=False,
  16. enable_injection=False,
  17. owner="sunlit.howard@gmail.com",
  18. default_tags={"project": "gen_query_from_content_tree"},
  19. default_scopes=["org:cybertogether"],
  20. # default_search_types=["strategy"],
  21. default_search_owner="sunlit.howard@gmail.com",
  22. ),
  23. )
  24. OUTPUT_DIR = "examples/content_tree_analyst/output"
  25. SKILLS_DIR = "./skills"
  26. TRACE_STORE_PATH = ".trace"
  27. DEBUG = True
  28. LOG_LEVEL = "INFO"
  29. LOG_FILE = None