Skip to content

Commit

Permalink
remove unused @ts-expect
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Sep 5, 2024
1 parent 4dcd72e commit 7507a09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ const server = createServer(async (request, response) => {
const toolCaller = await capiClient.chat.completions.create({
stream: false,
model: "gpt-4",
// @ts-expect-error - TODO @gr2m - type incompatibility between @openai/api and @copilot-extensions/preview-sdk
messages: toolCallMessages,
tool_choice: "auto",
tools: functions.map((f) => f.tool),
Expand Down

0 comments on commit 7507a09

Please sign in to comment.