refactor: split up models.dev and config model definitions to prevent coupling (#20605)

This commit is contained in:
Aiden Cline
2026-04-02 10:00:43 -05:00
committed by GitHub
parent ec3ae17e4d
commit 23c8656080
4 changed files with 70 additions and 26 deletions

View File

@@ -1,7 +1,6 @@
import { Provider } from "@/provider/provider"
import { Log } from "@/util/log"
import { Cause, Effect, Layer, Record, ServiceMap } from "effect"
import * as Queue from "effect/Queue"
import { Effect, Layer, Record, ServiceMap } from "effect"
import * as Stream from "effect/Stream"
import { streamText, wrapLanguageModel, type ModelMessage, type Tool, tool, jsonSchema } from "ai"
import { mergeDeep, pipe } from "remeda"