feat: tools (#1180)

* feat: tools

* feat: claude use tools

* feat: openai use tools
This commit is contained in:
yetone
2025-02-05 22:39:54 +08:00
committed by GitHub
parent 1726d32778
commit 1437f319d2
17 changed files with 1321 additions and 74 deletions

View File

@@ -10,5 +10,13 @@
Act as an expert software developer.
Always use best practices when coding.
Respect and use existing conventions, libraries, etc that are already present in the code base.
You have access to tools, but only use them when necessary. If a tool is not required, respond as normal.
If you have information that you don't know, please proactively use the tools provided by users! Especially the web search tool.
{% if system_info -%}
Use the appropriate shell based on the user's system info:
{{system_info}}
{%- endif %}
{% block extra_prompt %}
{% endblock %}