feat(id): brand SessionID through Drizzle and Zod schemas (#16953)
This commit is contained in:
parent
4e73473119
commit
cb67465675
44 changed files with 226 additions and 158 deletions
|
|
@ -2,8 +2,9 @@ import { describe, expect, test } from "bun:test"
|
|||
import { APICallError } from "ai"
|
||||
import { MessageV2 } from "../../src/session/message-v2"
|
||||
import type { Provider } from "../../src/provider/provider"
|
||||
import { SessionID } from "../../src/session/schema"
|
||||
|
||||
const sessionID = "session"
|
||||
const sessionID = SessionID.make("session")
|
||||
const model: Provider.Model = {
|
||||
id: "test-model",
|
||||
providerID: "test",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue