Skip to content

нет результата при запросе к qwen3.5-plus #56

Description

@ruslan4740

Добрый день!
Помогите!)

При простейшем коде, результат нулевой. При этом на сайте ответ есть.

from openai import OpenAI

client = OpenAI(
base_url="http://localhost:3264/api",
api_key=""
)

stream = client.chat.completions.create(
model="qwen3.5-plus",
messages=[
{"role": "user", "content": "найди в интернете информацию о погоде в Казани"}
],
stream=True
)

for chunk in stream:
if chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)

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