Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic committed Jul 1, 2024
1 parent 5aa9c72 commit 263ddc5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x-pack/plugins/elastic_assistant/server/routes/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ export const nonLangChainExecute = async ({
});
return response.ok({
body: result,
...(request.body.subAction === 'invokeAI'
? { headers: { 'content-type': 'application/json' } }
: {}),
});
};

Expand Down

0 comments on commit 263ddc5

Please sign in to comment.