mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
fix: broken cn chars
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user