mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
fix(codex): defer session persistence until user activity
This commit is contained in:
@@ -387,9 +387,19 @@ export class SyncEngine {
|
||||
namespace: string,
|
||||
model?: string,
|
||||
effort?: string,
|
||||
modelReasoningEffort?: string
|
||||
modelReasoningEffort?: string,
|
||||
requestedId?: string
|
||||
): Session {
|
||||
return this.sessionCache.getOrCreateSession(tag, metadata, agentState, namespace, model, effort, modelReasoningEffort)
|
||||
return this.sessionCache.getOrCreateSession(
|
||||
tag,
|
||||
metadata,
|
||||
agentState,
|
||||
namespace,
|
||||
model,
|
||||
effort,
|
||||
modelReasoningEffort,
|
||||
requestedId
|
||||
)
|
||||
}
|
||||
|
||||
getOrCreateMachine(id: string, metadata: unknown, runnerState: unknown, namespace: string): Machine {
|
||||
|
||||
Reference in New Issue
Block a user