FAQs
OpenAI Key Request While Using Other Models
If you see a request for an OpenAI API key but haven’t explicitly configured OpenAI, it’s because Agno uses OpenAI models by default in several places, including:
- The default model when unspecified in
Agent
- The default embedder is OpenAIEmbedder with VectorDBs, unless specified
Quick fix: Configure a Different Model
It is best to specify the model for the agent explicitly, otherwise it would default to OpenAIChat
.
For example, to use Google’s Gemini instead of OpenAI:
For more details on configuring different model providers, check our models documentation
Quick fix: Configure a Different Embedder
The same applies to embeddings. If you want to use a different embedder instead of OpenAIEmbedder
, configure it explicitly.
For example, to use Google’s Gemini as an embedder, use GeminiEmbedder
:
For more details on configuring different model providers, check our Embeddings documentation