import{_ as s,o as a,c as e,ag as t}from"./chunks/framework.DEqXEGcv.js";const c=JSON.parse('{"title":"Provider Commands","description":"","frontmatter":{},"headers":[],"relativePath":"cli/provider.md","filePath":"cli/provider.md","lastUpdated":1771161622000}'),p={name:"cli/provider.md"};function d(l,i,h,n,r,o){return a(),e("div",null,[...i[0]||(i[0]=[t(`
Manage LLM providers (OpenAI, Anthropic, Ollama, etc.).
List all providers. Optionally filter by provider name.
memoh provider list [options]| Option | Description |
|---|---|
--provider <name> | Filter by provider name |
Examples:
memoh provider list
memoh provider list --provider my-openaiCreate a new provider. Prompts for any missing fields.
memoh provider create [options]| Option | Description |
|---|---|
--name <name> | Provider name |
--type <type> | Client type |
--base_url <url> | Base URL for the API |
--api_key <key> | API key |
Supported client types: openai, openai-compat, anthropic, google, azure, bedrock, mistral, xai, ollama, dashscope
Examples:
memoh provider create --name my-ollama --type ollama --base_url http://localhost:11434
memoh provider create
# Interactive promptsDelete a provider by name.
memoh provider delete --provider <name>Example:
memoh provider delete --provider my-ollama