Skip to content

Commit

Permalink
fix(nuxt3): qa chain error info
Browse files Browse the repository at this point in the history
  • Loading branch information
LarchLiu committed Feb 3, 2024
1 parent f7c39a0 commit 3fff848
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/nuxt3/server/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export async function MakeQAChain(question: string, context: { USER_CONFIG: User
let source: string[] = []
if (typeof info === 'string') {
message = `Error Info: ${info}\n`
answer = message
}
else {
message += info.text
Expand Down

0 comments on commit 3fff848

Please sign in to comment.