Skip to content

DeepSeek Endpoint not supported? #143

@0xtoward

Description

@0xtoward

I was on Openai for ai-shell and it performs well. Now I want to try Deepseek and I tried https://api.deepseek.com/v1 https://api.deepseek.com and several variants for endpoint and

"
ai config

◇ Set config:
│ Model

✖ Request failed with status code 401
at createError (/usr/local/lib/node_modules/@builder.io/ai-shell/node_modules/openai/node_modules/axios/lib/core/createError.js:16:15)
at settle (/usr/local/lib/node_modules/@builder.io/ai-shell/node_modules/openai/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/@builder.io/ai-shell/node_modules/openai/node_modules/axios/lib/adapters/http.js:322:11)
at IncomingMessage.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

ai-shell v1.0.12

Please open a Bug report with the information above:
https://github.com/BuilderIO/ai-shell/issues/new

"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions