Skip to content

Commit 3cd4fb7

Browse files
committed
fix lint
1 parent 3b86586 commit 3cd4fb7

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/lib/components/inference-playground/code-snippets.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
billTo: billing.organization || undefined,
5858
// eslint-disable-next-line @typescript-eslint/no-explicit-any
5959
} as any;
60-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
6160
if (data.structuredOutput && conversation.isStructuredOutputAllowed) {
6261
opts.structured_output = data.structuredOutput;
6362
}

src/lib/state/models.svelte.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { page } from "$app/state";
2-
import { Provider, type CustomModel, type Model } from "$lib/types.js";
2+
import { type CustomModel, type Model } from "$lib/types.js";
33
import { edit, randomPick } from "$lib/utils/array.js";
44
import { safeParse } from "$lib/utils/json.js";
55
import typia from "typia";

src/lib/utils/business.svelte.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ export function maxAllowedTokens(conversation: ConversationClass) {
8888
function getResponseFormatObj(conversation: ConversationClass | Conversation) {
8989
const data = conversation instanceof ConversationClass ? conversation.data : conversation;
9090
const json = safeParse(data.structuredOutput?.schema ?? "");
91-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
9291
if (json && data.structuredOutput?.enabled && models.supportsStructuredOutput(conversation.model, data.provider)) {
9392
switch (data.provider) {
9493
case "cohere": {

0 commit comments

Comments
 (0)