feat(protocol): accept title on session create (#39935)
This commit is contained in:
parent
84dd56ed34
commit
06e26d89ad
6 changed files with 22 additions and 1 deletions
|
|
@ -77,6 +77,7 @@ export const SessionHandler = HttpApiBuilder.group(Api, "server.session", (handl
|
|||
data: yield* session
|
||||
.create({
|
||||
id: ctx.payload.id,
|
||||
title: ctx.payload.title,
|
||||
agent: ctx.payload.agent,
|
||||
model: ctx.payload.model,
|
||||
location: ctx.payload.location ?? { directory: AbsolutePath.make(process.cwd()) },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue