lint: format and stabilize gateway health

This commit is contained in:
Peter Steinberger
2025-12-10 18:00:33 +00:00
parent 27ad3b917f
commit 47a1f757a9
11 changed files with 43 additions and 36 deletions

View File

@@ -769,7 +769,11 @@ export async function getReplyFromConfig(
const returnedSessionId = meta.agentMeta?.sessionId;
// TODO: remove once pi-mono persists stable session ids for custom --session paths.
const allowMetaSessionId = false;
if (allowMetaSessionId && returnedSessionId && returnedSessionId !== sessionId) {
if (
allowMetaSessionId &&
returnedSessionId &&
returnedSessionId !== sessionId
) {
const entry = sessionEntry ??
sessionStore[sessionKey] ?? {
sessionId: returnedSessionId,