Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
GoogleAPIKey string
OpenAIAPIKey string
GroqAPIKey string
HuggingFaceToken string
OllamaBaseURL string
GoogleUtilityModel string
GoogleAgentModel string
OpenAIUtilityModel string
OpenAIAgentModel string
GroqUtilityModel string
GroqAgentModel string
HFUtilityModel string
HFAgentModel string
OllamaUtilityModel string
OllamaAgentModel string
OpenRouterAPIKey string
OpenRouterUtilityModel string
OpenRouterAgentModel string
}
Config holds all provider API keys and model selections for Genkit initialization.
type ModelInfo ¶
type ModelInfo struct {
ID string `json:"id"`
Provider string `json:"provider"`
Name string `json:"name"`
Tier string `json:"tier"` // "utility", "agent", or "both"
}
ModelInfo describes a registered model for the UI.
type Runtime ¶
Runtime holds the Genkit instance and categorized model references.
func (*Runtime) AgentModels ¶
AgentModels returns the models configured for agent tasks (reasoning, autonomous).
func (*Runtime) ModelInfos ¶
ModelInfos returns metadata about all registered models for the UI.
func (*Runtime) UtilityModels ¶
UtilityModels returns the models configured for utility tasks (summarize, codewords).
Click to show internal directories.
Click to hide internal directories.