CreateClientWithConfig creates an LLM client using caller-provided credentials plus provider-specific configuration. Supports all providers including StackSpot (needs client_id, client_key, realm, agent_id) and Ollama (needs base_url).
(provider, model, apiKey string, providerConfig map[string]string)
| 70 | // plus provider-specific configuration. Supports all providers including StackSpot |
| 71 | // (needs client_id, client_key, realm, agent_id) and Ollama (needs base_url). |
| 72 | CreateClientWithConfig(provider, model, apiKey string, providerConfig map[string]string) (client.LLMClient, error) |
| 73 | // ListModelsForProvider lists available models for a provider, either dynamically |
| 74 | // from the provider's API (if supported) or from the static catalog. |
| 75 | ListModelsForProvider(ctx context.Context, provider string) ([]client.ModelInfo, error) |
no outgoing calls
no test coverage detected