mirror of
https://github.com/jwadow/kiro-gateway.git
synced 2026-04-25 01:15:57 +03:00
[PR #18] [CLOSED] fix: add system prompt to encourage tool use #54
Labels
No labels
bug
bug
enhancement
enhancement
fixed
fixed
invalid
needs-info
needs-testing
pull-request
question
upstream
wontfix
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/kiro-gateway-jwadow#54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jwadow/kiro-gateway/pull/18
Author: @bhaskoro-muthohar
Created: 1/7/2026
Status: ❌ Closed
Base:
main← Head:fix/encourage-tool-use📝 Commits (1)
6c8af93fix: add system prompt and reminder to encourage tool use📊 Changes
1 file changed (+36 additions, -0 deletions)
View changed files
📝
kiro_gateway/converters.py(+36 -0)📄 Description
Problem
When using the gateway with Claude Code CLI, the Kiro model sometimes responds with brief text suggestions like "check litellm config.yaml" instead of actually calling the available tools to perform the requested actions.
Root Cause
The Kiro model's behavior differs from Claude's native behavior - it occasionally chooses to describe what it would do rather than actually invoking tools, causing conversations to stop abruptly mid-task.
Solution
Add a system prompt instruction that explicitly tells the model to use tools rather than describe actions:
This prompt is only added when tools are present in the request.
Testing
Tested with Claude Code CLI - conversations that previously stopped mid-way now correctly invoke tools and continue as expected.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.