mirror of
https://github.com/jwadow/kiro-gateway.git
synced 2026-04-25 01:15:57 +03:00
[PR #37] [CLOSED] fix: Migrate to Q endpoints & update headers to Kiro IDE 0.8.86 #64
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#64
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/37
Author: @DedInc
Created: 1/14/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
34ea897new host migration & kiro latest📊 Changes
49 files changed (+11071 additions, -8868 deletions)
View changed files
📝
kiro/__init__.py(+6 -10)📝
kiro/auth.py(+222 -177)📝
kiro/cache.py(+33 -31)📝
kiro/config.py(+57 -24)📝
kiro/converters_anthropic.py(+89 -83)📝
kiro/converters_core.py(+341 -286)📝
kiro/converters_openai.py(+74 -65)📝
kiro/debug_logger.py(+67 -63)📝
kiro/debug_middleware.py(+18 -16)📝
kiro/exceptions.py(+15 -12)📝
kiro/http_client.py(+80 -66)📝
kiro/model_resolver.py(+65 -60)📝
kiro/models_anthropic.py(+69 -30)📝
kiro/models_openai.py(+35 -20)📝
kiro/parsers.py(+151 -136)📝
kiro/routes_anthropic.py(+84 -83)📝
kiro/routes_openai.py(+90 -71)📝
kiro/streaming_anthropic.py(+332 -296)📝
kiro/streaming_core.py(+128 -87)📝
kiro/streaming_openai.py(+134 -115)...and 29 more files
📄 Description
Summary
This PR addresses critical API changes regarding the host migration from
codewhisperertoqendpoints and updates client signatures to match the latest Kiro IDE version.Changes
KIRO_API_HOST_TEMPLATEandKIRO_Q_HOST_TEMPLATEinkiro/config.pyto point toq.{region}.amazonaws.cominstead of the legacycodewhispererendpoints, based on recent traffic inspection.kiro/utils.pyto mimic Kiro IDE version0.8.86(latest).ruffformatting and linting across the codebase. Note: This accounts for the larger number of file changes/diffs; these are purely stylistic and code quality improvements.Reasoning
The upstream API appears to have migrated its backend services. Using the old endpoints results in reliability issues. Updating the headers ensures better compatibility. The formatting changes ensure the codebase remains clean and consistent.
CLA
I have read the CLA and I accept its terms
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.