Skip to content

无法使用移动云提供的api #16

@HuangJHong

Description

@HuangJHong

连接失败截图:
Image

使用python以及其它工具是可以正常调用的:

from openai import OpenAI

client = OpenAI(
    api_key="Xxxx",
    base_url="https://zhenze-huhehaote.cmecloud.cn/v1"
)

response = client.chat.completions.create(
    model="DeepSeek-V3.1",
    messages=[{"role": "user", "content": "你是谁"}],
    stream=True
)

for chunk in response:
    print(chunk.choices[0].delta.content or "", end="")

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