Skip to content

Commit ae49f64

Browse files
authoredJan 2, 2025
fix: question prompt (#27)
1 parent 2bece61 commit ae49f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/lib/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export function sanitizeQuestionPrompt({
133133
// Adding the length of "Query:" to the index to start after it
134134
return question.substring(index + "Query:".length).trim();
135135
}
136-
return answer;
136+
return question;
137137
} catch (error) {
138138
// Log the error and return the original question as a fallback
139139
console.error("Error processing the question:", error);

0 commit comments

Comments
 (0)
Please sign in to comment.