fix(session): hide pending admission sequence
This commit is contained in:
parent
9554f9a16e
commit
2a85c861e0
17 changed files with 32 additions and 48 deletions
|
|
@ -26,7 +26,6 @@ function setup(
|
|||
return new Response(undefined, { status: 204 })
|
||||
if (request.method === "POST" && request.url.endsWith("/prompt")) {
|
||||
return Response.json({
|
||||
admittedSeq: 1,
|
||||
id: "msg_1",
|
||||
sessionID: "ses_1",
|
||||
timeCreated: 1,
|
||||
|
|
|
|||
|
|
@ -229,7 +229,6 @@ function createV1Api(input: CompatibleInput): CompatibleApi {
|
|||
],
|
||||
})
|
||||
return {
|
||||
admittedSeq: 0,
|
||||
id: value.id ?? "",
|
||||
sessionID: value.sessionID,
|
||||
timeCreated: Date.now(),
|
||||
|
|
@ -255,7 +254,6 @@ function createV1Api(input: CompatibleInput): CompatibleApi {
|
|||
})),
|
||||
})
|
||||
return {
|
||||
admittedSeq: 0,
|
||||
id: value.id ?? "",
|
||||
sessionID: value.sessionID,
|
||||
timeCreated: Date.now(),
|
||||
|
|
@ -280,7 +278,6 @@ function createV1Api(input: CompatibleInput): CompatibleApi {
|
|||
modelID: value.model.modelID,
|
||||
})
|
||||
return {
|
||||
admittedSeq: 0,
|
||||
id: value.id ?? "",
|
||||
sessionID: value.sessionID,
|
||||
timeCreated: Date.now(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue