fix type errors
This commit is contained in:
parent
0d7e8ce896
commit
dbe47f6663
1 changed files with 1 additions and 2 deletions
|
|
@ -7,7 +7,6 @@ import {
|
|||
constructLlmApi,
|
||||
} from "@continuedev/openai-adapters";
|
||||
import Handlebars from "handlebars";
|
||||
import { Response } from "node-fetch";
|
||||
|
||||
import { DevDataSqliteDb } from "../data/devdataSqlite.js";
|
||||
import { DataLogger } from "../data/log.js";
|
||||
|
|
@ -385,7 +384,7 @@ export abstract class BaseLLM implements ILLM {
|
|||
}
|
||||
}
|
||||
|
||||
private async parseError(resp: Response): Promise<Error> {
|
||||
private async parseError(resp: any): Promise<Error> {
|
||||
let text = await resp.text();
|
||||
|
||||
if (resp.status === 404 && !resp.url.includes("/v1")) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue