3.0.0 #220

Merged
flfeders merged 676 commits from dev into main 2026-09-20 16:10:48 +00:00
4 changed files with 7 additions and 4 deletions
Showing only changes of commit 2462418548 - Show all commits

View File

@@ -71,7 +71,8 @@ export async function suggestEmailEntities(message: any, allCandidates: EntityCa
const candidates = selectCandidates(allCandidates, JSON.stringify(mail))
if (!candidates.length) return []
const request: any = {
model: "gpt-4o",
model: "gpt-5.6-luna",
reasoning_effort: "none",
store: false,
max_completion_tokens: 1500,
response_format: zodResponseFormat(suggestionFormat as any, "email_entity_suggestions"),

View File

@@ -168,7 +168,8 @@ export const getInvoiceDataFromGPT = async function (
const completionRequest: any = {
model: "gpt-4o",
model: "gpt-5.6-terra",
reasoning_effort: "low",
store: true,
response_format: zodResponseFormat(InstructionFormat as any, "instruction"),
messages: [

View File

@@ -407,7 +407,8 @@ const detectRecurringWithAi = async (server: FastifyInstance, statements: any[])
try {
const completionRequest: any = {
model: "gpt-4o",
model: "gpt-5.6-terra",
reasoning_effort: "low",
store: true,
response_format: zodResponseFormat(AiRecurringFormat as any, "liquidity_recurring_transactions"),
messages: [

View File

@@ -5,7 +5,7 @@ import { requireInstance } from "../lib/auth.js";
import { recordServiceUsage, requireCentralService } from "../services/central-services.js";
const aiSchema = z.object({
model: z.enum(["gpt-4o", "gpt-4o-mini"]),
model: z.enum(["gpt-4o", "gpt-4o-mini", "gpt-5.6-terra", "gpt-5.6-luna"]),
messages: z.array(z.object({
role: z.enum(["system", "user", "assistant"]),
content: z.union([z.string(), z.array(z.unknown())]),