From 5a6a50e3fd3d7f1dbdf98d8d1bf94a88f1390780 Mon Sep 17 00:00:00 2001 From: TensorNull Date: Thu, 16 Oct 2025 14:47:07 +0800 Subject: [PATCH 1/3] feat: Add CometAPI provider --- conf/model_providers.yaml | 9 ++++++--- docs/troubleshooting.md | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/conf/model_providers.yaml b/conf/model_providers.yaml index 0683cf011..9daffa781 100644 --- a/conf/model_providers.yaml +++ b/conf/model_providers.yaml @@ -27,6 +27,9 @@ chat: anthropic: name: Anthropic litellm_provider: anthropic + cometapi: + name: CometAPI + litellm_provider: cometapi deepseek: name: DeepSeek litellm_provider: deepseek @@ -35,8 +38,8 @@ chat: litellm_provider: github_copilot kwargs: extra_headers: - "Editor-Version": "vscode/1.85.1" - "Copilot-Integration-Id": "vscode-chat" + "Editor-Version": "vscode/1.85.1" + "Copilot-Integration-Id": "vscode-chat" google: name: Google litellm_provider: gemini @@ -109,4 +112,4 @@ embedding: litellm_provider: azure other: name: Other OpenAI compatible - litellm_provider: openai \ No newline at end of file + litellm_provider: openai diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 97ebd58fa..487ec524d 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -12,7 +12,7 @@ This page addresses frequently asked questions (FAQ) and provides troubleshootin Refer to the [Choosing your LLMs](installation.md#installing-and-using-ollama-local-models) section of the documentation for detailed instructions and examples for configuring different LLMs. Local models can be run using Ollama or LM Studio. > [!TIP] -> Some LLM providers offer free usage of their APIs, for example Groq, Mistral or SambaNova. +> Some LLM providers offer free usage of their APIs, for example Groq, Mistral, SambaNova or CometAPI. **6. How can I make Agent Zero retain memory between sessions?** Refer to the [How to update Agent Zero](installation.md#how-to-update-agent-zero) section of the documentation for instructions on how to update Agent Zero while retaining memory and data. From 4725f8dab231518b895ac6ac6112f586a5450dc0 Mon Sep 17 00:00:00 2001 From: Alessandro <155005371+3clyp50@users.noreply.github.com> Date: Thu, 6 Nov 2025 15:56:03 +0100 Subject: [PATCH 2/3] repo of the day badge to README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7b56d4ff5..b0d5c765f 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ # `Agent Zero` +

+ frdel%2Fagent-zero | Trendshift +

[![Agent Zero Website](https://img.shields.io/badge/Website-agent--zero.ai-0A192F?style=for-the-badge&logo=vercel&logoColor=white)](https://agent-zero.ai) [![Thanks to Sponsors](https://img.shields.io/badge/GitHub%20Sponsors-Thanks%20to%20Sponsors-FF69B4?style=for-the-badge&logo=githubsponsors&logoColor=white)](https://github.com/sponsors/agent0ai) [![Follow on X](https://img.shields.io/badge/X-Follow-000000?style=for-the-badge&logo=x&logoColor=white)](https://x.com/Agent0ai) [![Join our Discord](https://img.shields.io/badge/Discord-Join%20our%20server-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/B8KZKNsPpj) [![Subscribe on YouTube](https://img.shields.io/badge/YouTube-Subscribe-red?style=for-the-badge&logo=youtube&logoColor=white)](https://www.youtube.com/@AgentZeroFW) [![Connect on LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-blue?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/jan-tomasek/) [![Follow on Warpcast](https://img.shields.io/badge/Warpcast-Follow-5A32F3?style=for-the-badge)](https://warpcast.com/agent-zero) From 00168a41e7ef1ab9a883f22087261a739135ed69 Mon Sep 17 00:00:00 2001 From: pUrGe12 Date: Wed, 26 Nov 2025 16:14:04 +0530 Subject: [PATCH 3/3] moving from double quotes to single quotes because that is breaking the fstring --- python/api/csrf_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/api/csrf_token.py b/python/api/csrf_token.py index 37bb8453a..0e46a4d46 100644 --- a/python/api/csrf_token.py +++ b/python/api/csrf_token.py @@ -29,7 +29,7 @@ class GetCsrfToken(ApiHandler): if not origin_check["ok"]: return { "ok": False, - "error": f"Origin {self.get_origin_from_request(request)} not allowed when login is disabled. Set login and password or add your URL to ALLOWED_ORIGINS env variable. Currently allowed origins: {",".join(origin_check['allowed_origins'])}", + "error": f"Origin {self.get_origin_from_request(request)} not allowed when login is disabled. Set login and password or add your URL to ALLOWED_ORIGINS env variable. Currently allowed origins: {','.join(origin_check['allowed_origins'])}", } # generate a csrf token if it doesn't exist