coze-dev / coze-dev/coze-studio

流式响应对接官网正常,但是对接本地就报错,请问是什么原因?

Open
#619 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

流式响应对接官网正常,但是对接本地就报错,请问是什么原因?

//官网SaaS的配置
private const string OnlineBotId = "7533157787451752474";
private const string OnlineToken = "pat_EsvsPyUwyAPRXPhUUUgmg2Yrc2zrOw1nRcbce6LMAB4HwcM1TVQtarVEn2um1UxT";
private const string OnlineApiUrl = "https://api.coze.cn/v3/chat";

//本地部署的配置,报**event:error,data:{"code":103100001,"msg":"Internal server error"}**错误
private const string OfflineApiUrl = "http://192.168.10.10:8888/v3/chat";
private const string OfflineToken = "pat_cf170f2ecc8a05b432329ebf59feb260c889467d2840aa3ddc0b426d201d85c2";
private const string OfflineBotId = "7534360661971697664";

同样的客户端调用代码,请问是两者调用不一样吗?

Contributor guide

Open the contributing guide

Research direction

Start with the local /v3/chat endpoint and compare its request, authentication, bot configuration, and error response with the SaaS endpoint. Reproduce the reported event:error response using the supplied local deployment details, then inspect the local service logs or API entry point to identify and document the cause of error 103100001.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.