chore: bump package versions + fix linter

This commit is contained in:
Vasily Zubarev
2025-07-23 10:34:49 +02:00
parent dee915ffd6
commit 8897134901
6 changed files with 98 additions and 95 deletions

View File

@@ -1,9 +1,9 @@
"use server"
import { ActionState } from "@/lib/actions"
import { AnalyzeAttachment } from "./attachments"
import { updateFile } from "@/models/files"
import { getSettings, getLLMSettings } from "@/models/settings"
import { getLLMSettings, getSettings } from "@/models/settings"
import { AnalyzeAttachment } from "./attachments"
import { requestLLM } from "./providers/llmProvider"
export type AnalysisResult = {
@@ -18,7 +18,6 @@ export async function analyzeTransaction(
fileId: string,
userId: string
): Promise<ActionState<AnalysisResult>> {
const settings = await getSettings(userId)
const llmSettings = getLLMSettings(settings)
@@ -45,7 +44,7 @@ export async function analyzeTransaction(
success: true,
data: {
output: result,
tokensUsed: tokensUsed
tokensUsed: tokensUsed,
},
}
} catch (error) {