Skip to content

fix: Use local Ollama as default in GitHub Issue Agent demo (manual)#252

Open
rh-dnagornuks wants to merge 2 commits intokagenti:mainfrom
rh-dnagornuks:fix/demo-agent-ollama-local-env
Open

fix: Use local Ollama as default in GitHub Issue Agent demo (manual)#252
rh-dnagornuks wants to merge 2 commits intokagenti:mainfrom
rh-dnagornuks:fix/demo-agent-ollama-local-env

Conversation

@rh-dnagornuks
Copy link
Copy Markdown

@rh-dnagornuks rh-dnagornuks commented Mar 19, 2026

Summary

  • Add/modify OLLAMA_API_BASE and LLM_API_BASE in AuthBridge/demos/github-issue/k8s/git-issue-agent-deployment.yaml to http://host.docker.internal:11434
  • Add comments with the URLs for cluster and local instance options in AuthBridge/demos/github-issue/k8s/git-issue-agent-deployment.yaml
  • Add a note in AuthBridge/demos/github-issue/demo-manual.md to inform of the default instance type and provide method to switch to use cluster Ollama

Context

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

  • The GitHub Issue Agent successfully connects to the local Ollama instance with the modified YAML file
  • The GitHub Issue Agent successfully connects after overriding the environment variables with: kubectl set env

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>
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.

1 participant