docs: document KAGENT_DEFAULT_MODEL_PROVIDER in .env example#1511
Open
dhruvilkotak wants to merge 1 commit intokagent-dev:mainfrom
Open
docs: document KAGENT_DEFAULT_MODEL_PROVIDER in .env example#1511dhruvilkotak wants to merge 1 commit intokagent-dev:mainfrom
dhruvilkotak wants to merge 1 commit intokagent-dev:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
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_PROVIDERto the.envexample inDEVELOPMENT.md. - Adds commented examples for
ANTHROPIC_API_KEYandGOOGLE_API_KEYin the.envsnippet.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
EItanya
previously approved these changes
Mar 17, 2026
Contributor
|
Hey there, you need to sign your commits for DCO and then I can approve |
1bed7b9 to
537cfd9
Compare
Signed-off-by: dhruvilkotak <kotakdhruvil@gmail.com>
537cfd9 to
140601e
Compare
Author
Done, commits are now signed off. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
.envexample inDEVELOPMENT.mdonly showedOPENAI_API_KEY,leaving users on non-OpenAI providers (Anthropic, Gemini, Ollama) without
guidance on setting
KAGENT_DEFAULT_MODEL_PROVIDER.Without this variable,
make helm-installsilently defaults toopenAIand fails with a confusing error even when a valid Anthropic or Gemini key is set.
Changes
.envexample inDEVELOPMENT.mdto includeKAGENT_DEFAULT_MODEL_PROVIDERANTHROPIC_API_KEYandGOOGLE_API_KEYRelated issue
Fixes #1510
Testing
Verified locally on macOS with Anthropic provider and kagent v0.8.0-beta7.