fix: clean up lint leftovers
This commit is contained in:
@@ -1,9 +1,5 @@
|
|||||||
import type { Api, Model } from "@mariozechner/pi-ai";
|
import type { Api, Model } from "@mariozechner/pi-ai";
|
||||||
|
|
||||||
function isOpenAICompletionsModel(model: Model<Api>): model is Model<"openai-completions"> {
|
|
||||||
return model.api === "openai-completions";
|
|
||||||
}
|
|
||||||
|
|
||||||
export function normalizeModelCompat(model: Model<Api>): Model<Api> {
|
export function normalizeModelCompat(model: Model<Api>): Model<Api> {
|
||||||
const isOpenAICompletionsModel = (
|
const isOpenAICompletionsModel = (
|
||||||
candidate: Model<Api>,
|
candidate: Model<Api>,
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ import {
|
|||||||
formatUpdateChannelLabel,
|
formatUpdateChannelLabel,
|
||||||
normalizeUpdateChannel,
|
normalizeUpdateChannel,
|
||||||
resolveEffectiveUpdateChannel,
|
resolveEffectiveUpdateChannel,
|
||||||
type UpdateChannel,
|
|
||||||
} from "../infra/update-channels.js";
|
} from "../infra/update-channels.js";
|
||||||
import { defaultRuntime } from "../runtime.js";
|
import { defaultRuntime } from "../runtime.js";
|
||||||
import { formatDocsLink } from "../terminal/links.js";
|
import { formatDocsLink } from "../terminal/links.js";
|
||||||
|
|||||||
Reference in New Issue
Block a user