Skip to content

Commit

Permalink
refactor: remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
chhoumann committed Mar 3, 2024
1 parent e0f991b commit 3f15d03
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/ai/OpenAIRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,10 @@ export function OpenAIRequest(
throw new Error(`Model ${model.name} not found with any provider.`);
}

console.log(
`Making request to ${modelProvider?.name} at ${modelProvider.endpoint} with model ${model.name}`
);

try {
const restoreCursor = preventCursorChange();
const _response = requestUrl({
url: `${modelProvider?.endpoint}/chat/completions`,
url: `${modelProvider.endpoint}/chat/completions`,
method: "POST",
headers: {
"Content-Type": "application/json",
Expand Down

0 comments on commit 3f15d03

Please sign in to comment.