mirror of
https://github.com/jwadow/kiro-gateway.git
synced 2026-04-25 01:15:57 +03:00
[GH-ISSUE #7] Add support for Cline #7
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#7
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?
Originally created by @mzazon on GitHub (Dec 17, 2025).
Original GitHub issue: https://github.com/jwadow/kiro-gateway/issues/7
Added as a custom openai provider, seeing this in the logs:
2025-12-17 11:33:01 | INFO | kiro_gateway.routes:chat_completions:195 - Request to /v1/chat/completions (model=claude-sonnet-4-5-20250929, stream=True)
2025-12-17 11:33:02 | ERROR | kiro_gateway.routes:chat_completions:259 - Error from Kiro API: 400 - {"message":"Improperly formed request.","reason":null}
2025-12-17 11:33:02 | WARNING | kiro_gateway.routes:chat_completions:273 - HTTP 400 - POST /v1/chat/completions - Improperly formed request. (reason: None)
2025-12-17 11:33:02 | INFO | logging:callHandlers:1706 - 127.0.0.1:51781 - "POST /v1/chat/completions HTTP/1.1" 400
2025-12-17 11:33:57 | INFO | logging:callHandlers:1706 - 127.0.0.1:51975 - "GET /v1//models HTTP/1.1" 404
@jwadow commented on GitHub (Dec 17, 2025):
Hey @mzazon, need more info to debug this.
Can you enable debug logging and share all files from
debug_logs? Add this to your .env:DEBUG_MODE=errorsThen reproduce the error and share all files from the debug_logs/ folder (especially request_body.json, kiro_request_body.json, app_logs.txt).
Also, the second error GET /v1//models has a double slash — looks like a Cline config issue, not related to the main problem.
@mzazon commented on GitHub (Dec 17, 2025):
It does work otherwise via cURL / API
@mzazon commented on GitHub (Dec 17, 2025):
app_logs.txt
error_info.json
kiro_request_body.json
request_body.json
Cline is obviously token heavy :-)
@jwadow commented on GitHub (Dec 17, 2025):
Hello again @mzazon
Thanks for the logs, that helped a lot
Fixed it - Cline was sending some tool schemas that Kiro didn't like. Should work now in v1.0.6