Skip to content

docs: document KAGENT_DEFAULT_MODEL_PROVIDER in .env example#1511

Open
dhruvilkotak wants to merge 1 commit intokagent-dev:mainfrom
dhruvilkotak:fix/document-kagent-default-model-provider
Open

docs: document KAGENT_DEFAULT_MODEL_PROVIDER in .env example#1511
dhruvilkotak wants to merge 1 commit intokagent-dev:mainfrom
dhruvilkotak:fix/document-kagent-default-model-provider

Conversation

@dhruvilkotak
Copy link

Summary

The .env example in DEVELOPMENT.md only showed OPENAI_API_KEY,
leaving users on non-OpenAI providers (Anthropic, Gemini, Ollama) without
guidance on setting KAGENT_DEFAULT_MODEL_PROVIDER.

Without this variable, make helm-install silently defaults to openAI
and fails with a confusing error even when a valid Anthropic or Gemini key is set.

Changes

  • Updated .env example in DEVELOPMENT.md to include KAGENT_DEFAULT_MODEL_PROVIDER
  • Added commented examples for ANTHROPIC_API_KEY and GOOGLE_API_KEY

Related issue

Fixes #1510

Testing

Verified locally on macOS with Anthropic provider and kagent v0.8.0-beta7.

Copilot AI review requested due to automatic review settings March 16, 2026 23:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the development documentation so contributors using non-OpenAI LLM providers know to set KAGENT_DEFAULT_MODEL_PROVIDER (and the relevant API key) when running Make/Helm workflows.

Changes:

  • Adds KAGENT_DEFAULT_MODEL_PROVIDER to the .env example in DEVELOPMENT.md.
  • Adds commented examples for ANTHROPIC_API_KEY and GOOGLE_API_KEY in the .env snippet.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

EItanya
EItanya previously approved these changes Mar 17, 2026
@EItanya
Copy link
Contributor

EItanya commented Mar 17, 2026

Hey there, you need to sign your commits for DCO and then I can approve

@dhruvilkotak dhruvilkotak force-pushed the fix/document-kagent-default-model-provider branch 3 times, most recently from 1bed7b9 to 537cfd9 Compare March 18, 2026 04:35
Signed-off-by: dhruvilkotak <kotakdhruvil@gmail.com>
@dhruvilkotak dhruvilkotak force-pushed the fix/document-kagent-default-model-provider branch from 537cfd9 to 140601e Compare March 18, 2026 04:36
@dhruvilkotak
Copy link
Author

Hey there, you need to sign your commits for DCO and then I can approve

Done, commits are now signed off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: check-api-key Makefile target blocks install for non-OpenAI providers

3 participants