test(ai): add scoped test LLM (#39223)
This commit is contained in:
parent
e556aca833
commit
fb975eeb7c
5 changed files with 936 additions and 994 deletions
|
|
@ -19,6 +19,7 @@ import {
|
|||
OpenResponses,
|
||||
} from "@opencode-ai/ai/protocols"
|
||||
import * as AnthropicMessages from "@opencode-ai/ai/protocols/anthropic-messages"
|
||||
import { TestLLM } from "@opencode-ai/ai/testing"
|
||||
|
||||
describe("public exports", () => {
|
||||
test("root exposes app-facing runtime APIs", () => {
|
||||
|
|
@ -28,6 +29,7 @@ describe("public exports", () => {
|
|||
expect(ImageInput.bytes).toBeFunction()
|
||||
expect(Provider.make).toBeFunction()
|
||||
expect(ProviderSubpath.make).toBe(Provider.make)
|
||||
expect(TestLLM.layer).toBeFunction()
|
||||
})
|
||||
|
||||
test("route barrel exposes route-authoring APIs", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue