mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
fix: broken cn chars
This commit is contained in:
parent
320f66697b
commit
43f3ac115b
@ -501,7 +501,7 @@ app.post('/v1/chat/completions', (async (req: Request, res: Response) => {
|
||||
// Add content to queue for both thinking steps and final answer
|
||||
if (step.action === 'visit') {
|
||||
// emit every url in the visit action in url field
|
||||
(step as VisitAction).URLTargets.forEach((url) => {
|
||||
((step as VisitAction).URLTargets as string[]).forEach((url) => {
|
||||
const chunk: ChatCompletionChunk = {
|
||||
id: requestId,
|
||||
object: 'chat.completion.chunk',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user