[GH-ISSUE #34] 配置kiro不成功,提示如下: #28

Closed
opened 2026-02-27 07:17:30 +03:00 by kerem · 1 comment
Owner

Originally created by @lghaaron on GitHub (Aug 15, 2025).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/34

[Server] Received request: POST http://localhost:3000/v1/messages?beta=true
[Config] Ignoring invalid MODEL_PROVIDER in path segment: v1
file:///C:/Users/aaron/AIClient-2-API/src/adapter.js:212
throw new Error(Unsupported model provider: ${provider});
^

Error: Unsupported model provider: kiro-api
at getServiceAdapter (file:///C:/Users/aaron/AIClient-2-API/src/adapter.js:212:23)
at getApiService (file:///C:/Users/aaron/AIClient-2-API/src/api-server.js:383:12)
at Server.requestHandler (file:///C:/Users/aaron/AIClient-2-API/src/api-server.js:432:34)
at Server.emit (node:events:518:28)
at parserOnIncoming (node:_http_server:1155:12)
at HTTPParser.parserOnHeadersComplete (node:_http_common:117:17)

Node.js v22.17.1

Originally created by @lghaaron on GitHub (Aug 15, 2025). Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/34 [Server] Received request: POST http://localhost:3000/v1/messages?beta=true [Config] Ignoring invalid MODEL_PROVIDER in path segment: v1 file:///C:/Users/aaron/AIClient-2-API/src/adapter.js:212 throw new Error(`Unsupported model provider: ${provider}`); ^ Error: Unsupported model provider: kiro-api at getServiceAdapter (file:///C:/Users/aaron/AIClient-2-API/src/adapter.js:212:23) at getApiService (file:///C:/Users/aaron/AIClient-2-API/src/api-server.js:383:12) at Server.requestHandler (file:///C:/Users/aaron/AIClient-2-API/src/api-server.js:432:34) at Server.emit (node:events:518:28) at parserOnIncoming (node:_http_server:1155:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:117:17) Node.js v22.17.1
kerem closed this issue 2026-02-27 07:17:30 +03:00
Author
Owner

@justlovemaki commented on GitHub (Aug 15, 2025):

Error: Unsupported model provider: kiro-api, 文档里写的写错了,我更新了

<!-- gh-comment-id:3191662985 --> @justlovemaki commented on GitHub (Aug 15, 2025): Error: Unsupported model provider: kiro-api, 文档里写的写错了,我更新了
Sign in to join this conversation.
No labels
pull-request
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/AIClient-2-API-justlovemaki#28
No description provided.