sync
This commit is contained in:
parent
5a382b31d8
commit
8cbacb844f
1 changed files with 0 additions and 10 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
import { MessageV2 } from "./message-v2"
|
import { MessageV2 } from "./message-v2"
|
||||||
import { streamText } from "ai"
|
|
||||||
import { Log } from "@/util/log"
|
import { Log } from "@/util/log"
|
||||||
import { Identifier } from "@/id/id"
|
import { Identifier } from "@/id/id"
|
||||||
import { Session } from "."
|
import { Session } from "."
|
||||||
|
|
@ -21,15 +20,6 @@ export namespace SessionProcessor {
|
||||||
export type Info = Awaited<ReturnType<typeof create>>
|
export type Info = Awaited<ReturnType<typeof create>>
|
||||||
export type Result = Awaited<ReturnType<Info["process"]>>
|
export type Result = Awaited<ReturnType<Info["process"]>>
|
||||||
|
|
||||||
export type StreamInput = Parameters<typeof streamText>[0]
|
|
||||||
|
|
||||||
export type TBD = {
|
|
||||||
model: {
|
|
||||||
modelID: string
|
|
||||||
providerID: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export function create(input: {
|
export function create(input: {
|
||||||
assistantMessage: MessageV2.Assistant
|
assistantMessage: MessageV2.Assistant
|
||||||
sessionID: string
|
sessionID: string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue