Skip to content

Conversation

@moisestohias
Copy link

This commit updates the application to use the Groq API instead of the OpenRouter API. The changes include:

  • Updating config.yaml with Groq API settings.
  • Renaming OpenRouterAgent to GroqAgent and updating it to use the Groq API.
  • Updating main.py and orchestrator.py to use the new GroqAgent.

This commit updates the application to use the Groq API instead of the OpenRouter API. The changes include:

- Updating `config.yaml` with Groq API settings.
- Renaming `OpenRouterAgent` to `GroqAgent` and updating it to use the Groq API.
- Updating `main.py` and `orchestrator.py` to use the new `GroqAgent`.
This commit fixes a bug where the Groq API would return an error if the `tool_calls` field was `None`. The `agent.py` file has been updated to conditionally add the `tool_calls` key to the assistant message only when it has a value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant