Skip to content

fix(go-adk): extract system prompt from genai.GenerateContentConfig in Ollama and Bedrock model providers#2118

Merged
EItanya merged 3 commits into
kagent-dev:mainfrom
supreme-gg-gg:fix/go-system-prompt
Jun 30, 2026
Merged

fix(go-adk): extract system prompt from genai.GenerateContentConfig in Ollama and Bedrock model providers#2118
EItanya merged 3 commits into
kagent-dev:mainfrom
supreme-gg-gg:fix/go-system-prompt

Conversation

@supreme-gg-gg

Copy link
Copy Markdown
Contributor

Closes #2114

Updated current unit tests, manually tested with Bedrock and Ollama models.

Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
Copilot AI review requested due to automatic review settings June 30, 2026 20:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added the bug Something isn't working label Jun 30, 2026
@supreme-gg-gg supreme-gg-gg changed the title fix(go-adk): Ollama and bedrock model providers drop system prompt fix(go-adk): extract system prompt from genai.GenerateContentConfig in Ollama and Bedrock Jun 30, 2026
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Jun 30, 2026
@supreme-gg-gg supreme-gg-gg changed the title fix(go-adk): extract system prompt from genai.GenerateContentConfig in Ollama and Bedrock fix(go-adk): extract system prompt from genai.GenerateContentConfig in Ollama and Bedrock model providers Jun 30, 2026
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Jun 30, 2026
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
@EItanya EItanya merged commit 841e807 into kagent-dev:main Jun 30, 2026
26 checks passed
EItanya pushed a commit that referenced this pull request Jul 1, 2026
Backport of #2118

Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Go runtime drops the agent system prompt (systemMessage) for Bedrock and Ollama models

3 participants