[GH-ISSUE #6] Add OPTIONS HTTP method to support more clients #6

Closed
opened 2026-02-27 07:17:20 +03:00 by kerem · 2 comments
Owner

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?

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?
kerem 2026-02-27 07:17:20 +03:00
  • closed this issue
  • added the
    bug
    fixed
    labels
Author
Owner

@mzazon commented on GitHub (Dec 17, 2025):

For reference, here is smart-composer: https://github.com/glowingjade/obsidian-smart-composer

<!-- gh-comment-id:3666110513 --> @mzazon commented on GitHub (Dec 17, 2025): For reference, here is smart-composer: https://github.com/glowingjade/obsidian-smart-composer
Author
Owner

@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.

<!-- gh-comment-id:3666195266 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/kiro-gateway-jwadow#6
No description provided.