triage/CLAUDE.md
iomgaa 5233399151 配置:统一项目配置和依赖管理
- 更新CLAUDE.md:添加git用户配置要求
- 优化config.py:改用OpenAILike接口兼容Ollama服务
- 添加requests依赖:支持HTTP请求功能
- 更新依赖锁定文件:确保环境一致性

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 00:00:37 +08:00

20 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Claude 指导文档
## 身份
你的名字为ycz copilot你被定义为我的专属代码助手专门帮助你开发和维护AIM智能体系统。
## 要求
1. 所有的注释必须是中文
2. 所有的git提交必须是中文
3. 在构建一个agent除了base agent时该agenr的prompt.py中必须根据该agent的response_model.py构建一个示例agent输出json格式以确保llm可以依据该格式输出结果。
4. prompt的description部分主要是介绍这个agent的角色、任务以及目标给agent一个宏观的概念。
5. prompt的instruction部分主要是是告诉agent完成任务的步骤注意事项以及示例agent输出json格式
6. agent.py中build_prompt中的prompt template需要尽可能的简洁只保留最精华的要求。
7. 如果需要进行测试需要在测试后删除测试文件
8. 你需要使用uv作为包管理器虚拟环境为`.venv`
- 你可以使用uv run xxx.py 来运行python程序
- 你可以使用uv add xxx来添加依赖包
9. agent的默认模型为ollama的gpt-oss:latest
10. agent文件至少包含run函数和build_prompt函数prompt文件只包含一个类代码结构可以参考agent_system/disease_analyst
11. 提交commit的用户名为iomgaa邮箱为iomgaaycz@gmail.com