fix(test): use instance helper in native fallback test

This commit is contained in:
Kit Langton
2026-05-03 08:50:17 -04:00
parent 1caeaf70bb
commit de79fd7306
+1 -2
View File
@@ -5,7 +5,6 @@ import { Cause, Effect, Exit, Stream } from "effect"
import z from "zod"
import { makeRuntime } from "../../src/effect/run-service"
import { LLM } from "../../src/session/llm"
import { Instance } from "../../src/project/instance"
import { WithInstance } from "../../src/project/with-instance"
import { Provider } from "@/provider/provider"
import { ProviderTransform } from "@/provider/transform"
@@ -979,7 +978,7 @@ describe("session.llm.stream", () => {
},
})
await Instance.provide({
await WithInstance.provide({
directory: tmp.path,
fn: async () => {
const resolved = await getModel(ProviderID.make("anthropic"), ModelID.make(model.id))