Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Dec 14, 2024
1 parent 9898dd6 commit ad1a180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ app.post("/", async (c) => {
},
body: JSON.stringify({
messages,
stream: false,
stream: true,
}),
}
);

const newquery = await readStream(copilotLLMResponse);
const newquery = await readStream(copilotLLMResponse.body);
console.log("LLM:", newquery);

// Check if the message contains a SQL query
Expand Down

0 comments on commit ad1a180

Please sign in to comment.