Skip to content

Commit bd0002b

Browse files
committed
Cleanup
1 parent c1dbbb6 commit bd0002b

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

src/api/providers/deepseek.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ export class DeepSeekHandler implements ApiHandler, SingleCompletionHandler {
8181

8282
try {
8383
const chunk = JSON.parse(data)
84-
console.dir("DEEPSEEK CHUNK")
85-
console.dir(chunk)
8684
// Handle regular delta format
8785
const delta = chunk.choices[0]?.delta ?? {}
8886
if (delta.type === "ui") {

src/api/providers/pearai.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,17 +128,14 @@ export class PearAiHandler {
128128
for await (const chunk of generator) {
129129
console.dir(chunk)
130130
if (chunk.type === "text" && chunk.metadata?.ui_only) {
131-
console.dir("HOLY SHIT IM HERE")
132131
warningMsg += chunk.metadata?.content
133-
console.dir("WARING MESSAGE")
134-
console.dir(warningMsg)
135132
continue
136133
}
137134
yield chunk
138135
}
139136

140137
if (warningMsg) {
141-
if (warningMsg.includes("pay-as-you-go") || true) {
138+
if (warningMsg.includes("pay-as-you-go")) {
142139
vscode.window.showInformationMessage(warningMsg, "View Pay-As-You-Go").then((selection) => {
143140
if (selection === "View Pay-As-You-Go") {
144141
vscode.env.openExternal(vscode.Uri.parse("https://trypear.ai/pay-as-you-go"))

0 commit comments

Comments
 (0)