style: fix formatting in model.ts
This commit is contained in:
parent
29616c33f3
commit
2355b0603c
@ -318,9 +318,7 @@ export function resolveModelWithRegistry(params: {
|
||||
(candidate) => candidate.id === modelId,
|
||||
);
|
||||
const resolvedInput: Array<"text" | "image"> = configuredOpenRouterModel?.input
|
||||
? configuredOpenRouterModel.input.filter(
|
||||
(item) => item === "text" || item === "image",
|
||||
)
|
||||
? configuredOpenRouterModel.input.filter((item) => item === "text" || item === "image")
|
||||
: isLikelyVisionModel(modelId)
|
||||
? ["text", "image"]
|
||||
: ["text"];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user