mirror of
https://github.com/jwadow/kiro-gateway.git
synced 2026-04-25 01:15:57 +03:00
[GH-ISSUE #6] Add OPTIONS HTTP method to support more clients #6
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#6
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/6
I am testing from Obsidian Smart Composer plugn and the following in the logs:
2025-12-17 10:52:39 | INFO | logging:callHandlers:1706 - 127.0.0.1:59603 - "OPTIONS /v1/chat/completions HTTP/1.1" 405
2025-12-17 10:52:40 | INFO | logging:callHandlers:1706 - 127.0.0.1:59603 - "OPTIONS /v1/chat/completions HTTP/1.1" 405
2025-12-17 10:52:41 | INFO | logging:callHandlers:1706 - 127.0.0.1:59603 - "OPTIONS /v1/chat/completions HTTP/1.1" 405
Understood this must be a part of the API spec for OpenAI for some clients?
@mzazon commented on GitHub (Dec 17, 2025):
For reference, here is smart-composer: https://github.com/glowingjade/obsidian-smart-composer
@jwadow commented on GitHub (Dec 17, 2025):
Hey @mzazon, thanks for reporting this!
Fixed in v1.0.5: https://github.com/jwadow/kiro-openai-gateway/releases/tag/v1.0.5
Added CORS middleware so OPTIONS preflight requests now work properly. Should work with Smart Composer and other browser-based tools now.