feat(simulation): add driver controlled backend LLM (#35186)

This commit is contained in:
James Long
2026-07-03 14:19:25 -04:00
committed by GitHub
parent 4af57079a9
commit 392cb3b080
25 changed files with 1191 additions and 21 deletions
+2 -2
View File
@@ -153,11 +153,11 @@ const OpenAIChatChoice = Schema.Struct({
finish_reason: optionalNull(Schema.String),
})
const OpenAIChatEvent = Schema.Struct({
export const OpenAIChatEvent = Schema.Struct({
choices: Schema.Array(OpenAIChatChoice),
usage: optionalNull(OpenAIChatUsage),
})
type OpenAIChatEvent = Schema.Schema.Type<typeof OpenAIChatEvent>
export type OpenAIChatEvent = Schema.Schema.Type<typeof OpenAIChatEvent>
type OpenAIChatRequestMessage = LLMRequest["messages"][number]
interface ParserState {