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 022b837 commit b25c0e4Copy full SHA for b25c0e4
src/hooks/useAssistants.ts
@@ -167,16 +167,17 @@ const useAssistants = (): UseAssistantsValues => {
167
promptMode,
168
),
169
);
170
+ } else {
171
+ promise = promptAssistant(
172
+ assistant,
173
+ promptForSingleResponse(
174
+ instructions.title.content,
175
+ t,
176
+ includeDetails ? instructions.details?.content : undefined,
177
+ promptMode,
178
+ ),
179
+ );
180
}
- promise = promptAssistant(
- assistant,
- promptForSingleResponse(
- instructions.title.content,
- t,
- includeDetails ? instructions.details?.content : undefined,
- promptMode,
- ),
- );
181
return promise.then(async (assistantResponseAppData) => {
182
if (assistantResponseAppData) {
183
const { completion: response, assistantId } =
0 commit comments