We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bece61 commit ae49f64Copy full SHA for ae49f64
src/lib/utils.ts
@@ -133,7 +133,7 @@ export function sanitizeQuestionPrompt({
133
// Adding the length of "Query:" to the index to start after it
134
return question.substring(index + "Query:".length).trim();
135
}
136
- return answer;
+ return question;
137
} catch (error) {
138
// Log the error and return the original question as a fallback
139
console.error("Error processing the question:", error);
0 commit comments