feat: 为必应和claude2提供读取文件能力支持

This commit is contained in:
ikechan8370 2023-10-19 20:15:49 +08:00
parent 6c171b32a1
commit 1a95c67130
7 changed files with 369 additions and 46 deletions

View file

@ -186,6 +186,7 @@ export class ClaudeAIClient {
} else if (streamDataRes.status === 408) {
throw new Error('claude.ai响应超时可能是回复文本太多请调高超时时间重试')
} else {
logger.error(streamDataRes.status, streamDataRes.body)
throw new Error('unknown error')
}
}