Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

Ai-Punk 支持哪些 AI 模型,如何扩展新功能?

2025-08-21 220

AI model support:Ai-Punk 目前支持 OpenAI(如 GPT 系列)、Google 和 Anthropic 的模型。用户需在 src/config/models.py 中配置 API 密钥,或在运行主程序时选择提供商。

扩展新功能的步骤::

  • 添加工具模块: in src/tools/ 目录下创建新工具模块,定义功能逻辑。
  • 更新工厂配置: in src/agent/wrappers/factory.py 中注册新工具,确保 AI 代理能识别和调用。
  • 提交 Pull Request:Fork 仓库后,将修改提交至官方仓库进行审核和合并。

扩展功能时需注意:

  • 保持模块化设计,避免耦合。
  • 确保新工具的安全性,如路径验证和用户确认。
  • exist requirements.txt 中补充新增依赖。

通过以上方式,社区开发者可以灵活扩展 Ai-Punk 的功能。

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish