diff --git a/README.md b/README.md index 99d58ef4f..8c0bb596a 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) diff --git a/conf/model_providers.yaml b/conf/model_providers.yaml index 3454daa9f..e805376e3 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 @@ -118,4 +121,4 @@ embedding: "X-Title": "Agent Zero" 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. 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