pref: simplified AI provider's settings

This commit is contained in:
LIlGG
2025-09-28 17:34:47 +08:00
parent 5ec38df940
commit f2df793afa
39 changed files with 265 additions and 755 deletions

View File

@@ -1,6 +1,6 @@
import { convertToModelMessages, type LanguageModel, streamText, type UIMessage } from 'ai';
import { createScopedLogger } from '~/lib/.server/logger';
import { DEFAULT_PROVIDER } from '~/utils/constants';
import { DEFAULT_PROVIDER } from '~/lib/modules/constants';
import { stripIndents } from '~/utils/strip-indent';
const logger = createScopedLogger('stream-enhancer');