Skip to content

Commit

Permalink
fix: add missing field to docs chat requests (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Sep 9, 2024
1 parent 4649a20 commit 658dfa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/docs/app/api/entelligence/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ export const POST = async (req: Request) => {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer ${process.env["ENTELLIGENCE_API_KEY"]}`,
Authorization: `Bearer ${process.env["ENTELLIGENCE_API_KEY"]}`,
},
body: JSON.stringify({
history,
question,
vectorDBUrl: "Yonom&assistant-ui",
advancedAgent: false,
githubUsername: "Yonom",
}),
});
};

0 comments on commit 658dfa1

Please sign in to comment.