Closed debanjum closed 2 months ago
Improve initialization flow during first run to remove need to configure Khoj:
Set Google, Anthropic Chat models too Previously only Offline, Openai chat models could be set during init
Add multiple chat models for each LLM provider Interactively set a comma separated list of models for each provider
Auto add default chat models for each provider in non-interactive model if the {OPENAI,GEMINI,ANTHROPIC}_API_KEY env var is set
{OPENAI,GEMINI,ANTHROPIC}_API_KEY
Do not ask for max_tokens, tokenizer for offline models during initialization. Use better defaults inferred in code instead
Explicitly set default chat model to use If unset, it implicitly defaults to using the first chat model. Make it explicit to reduce this confusion
Resolves #882
Awesome getting some of this setup path cleaned, documentation improved, and default case made easier 🎉
Improve
Fix
Details
Improve initialization flow during first run to remove need to configure Khoj:
Set Google, Anthropic Chat models too Previously only Offline, Openai chat models could be set during init
Add multiple chat models for each LLM provider Interactively set a comma separated list of models for each provider
Auto add default chat models for each provider in non-interactive model if the
{OPENAI,GEMINI,ANTHROPIC}_API_KEY
env var is setDo not ask for max_tokens, tokenizer for offline models during initialization. Use better defaults inferred in code instead
Explicitly set default chat model to use If unset, it implicitly defaults to using the first chat model. Make it explicit to reduce this confusion
Resolves #882