Skip to content

Win本地配置好了一直报错 #20

@desmonna

Description

@desmonna

我在.env配置好了API_KEY或者REFRESH_KEY(或者两个都配置),但是测试连接一直报错,请问如何解决?

[INFO] Configuration loaded successfully
[INFO] Dev mode: false
[INFO] Initializing User-Agent version updater...
[INFO] Default User-Agent from config: factory-cli/0.27.1
[INFO] User-Agent updater initialized. Will check every hour.
[INFO] Using fixed API key from FACTORY_API_KEY environment variable
[INFO] Auth system initialized with fixed API key
[INFO] Auth system initialized successfully
[INFO] Starting server on port 3000...
[INFO] Server running on http://localhost:3000
[INFO] Available endpoints:
[INFO]   GET  /v1/models
[INFO]   POST /v1/chat/completions
[INFO]   POST /v1/responses
[INFO]   POST /v1/messages
[INFO]   POST /v1/messages/count_tokens
[INFO] POST /v1/chat/completions
[INFO] Routing to common endpoint: https://api.factory.ai/api/llm/o/v1/chat/completions
[REQUEST] POST https://api.factory.ai/api/llm/o/v1/chat/completions
[INFO] Using proxy default-proxy for request to https://api.factory.ai/api/llm/o/v1/chat/completions
[ERROR] Error in /v1/chat/completions
Invalid character in header content ["authorization"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions