magicboris commited on
Commit
04b83cf
·
verified ·
1 Parent(s): d1b04f9

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -55,7 +55,7 @@ async function chatProxy(req) {
55
  } = body;
56
 
57
  const historyText = messages
58
- .map(m => (m.role === 'user' ? '用户:' : 'AI:') + m.content)
59
  .join('\n');
60
 
61
  const helixPayload = {
 
55
  } = body;
56
 
57
  const historyText = messages
58
+ .map(m => (m.role === 'user' ? 'user:' : 'AI:') + m.content)
59
  .join('\n');
60
 
61
  const helixPayload = {