fix: Use local Ollama as default in GitHub Issue Agent demo (manual)#252
Open
rh-dnagornuks wants to merge 2 commits intokagenti:mainfrom
Open
fix: Use local Ollama as default in GitHub Issue Agent demo (manual)#252rh-dnagornuks wants to merge 2 commits intokagenti:mainfrom
rh-dnagornuks wants to merge 2 commits intokagenti:mainfrom
Conversation
Update GitHub issue agent YAML to use local Ollama by default to match behaviour in 'agent-examples' repo. Preserve cluster Ollama URL as a commented alternative. Signed-off-by: Daniels Nagornuks <dnagornu@redhat.com>
Add a note to the 'Verify Ollama is running' step explaining how to configure environment variables to connect to an in-cluster Ollama instance. Signed-off-by: Daniels Nagornuks <dnagornu@redhat.com>
65a8941 to
6422850
Compare
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
OLLAMA_API_BASEandLLM_API_BASEin AuthBridge/demos/github-issue/k8s/git-issue-agent-deployment.yaml tohttp://host.docker.internal:11434AuthBridge/demos/github-issue/k8s/git-issue-agent-deployment.yamlAuthBridge/demos/github-issue/demo-manual.mdto inform of the default instance type and provide method to switch to use cluster OllamaContext
Currently, the manual demo for the GitHub Issue Agent defaults to a cluster-based Ollama instance, which differs from the environment variables used in the UI demo: https://github.com/kagenti/agent-examples/blob/main/a2a/git_issue_agent/.env.ollama, and to what is stated within the current version of the deployment YAML: https://github.com/kagenti/kagenti-extensions/blob/main/AuthBridge/demos/github-issue/k8s/git-issue-agent-deployment.yaml
The user is also unaware if or how they need to change the environment variables to use the correct instance of Ollama. This change sets the default instance in the manual demo to the local Ollama instance and adds instructions for switching to a cluster-based Ollama instance if desired.
Tests
kubectl set env