Summary
inference-gateway/cli#760 adds a --session-id flag to infer chat for resuming persisted chat sessions from the command line, and updates the exit message to print a copy-pasteable continuation command (infer chat --session-id <id>).
Behavior to document:
infer chat --session-id <id> loads the persisted conversation before the TUI starts (requires a storage backend; see storage.enabled).
- Non-UUID values are treated as session group keys and resolve through the session rollover chain to the latest session.
- If the session cannot be loaded, the CLI prints a visible notice and starts a new session under the requested ID (same semantics as
infer agent --session-id).
- The flag is ignored (with a printed notice) in
--web and non-interactive (piped) modes.
- Session IDs can be discovered with
infer conversations list.
Affected pages: the CLI chat command reference (wherever infer chat flags are documented), plus a cross-link from the infer agent --session-id docs.
Example to add:
infer conversations list # Find session IDs
infer chat --session-id abc-123-def
Source: inference-gateway/cli#760
Acceptance Criteria
Summary
inference-gateway/cli#760 adds a
--session-idflag toinfer chatfor resuming persisted chat sessions from the command line, and updates the exit message to print a copy-pasteable continuation command (infer chat --session-id <id>).Behavior to document:
infer chat --session-id <id>loads the persisted conversation before the TUI starts (requires a storage backend; seestorage.enabled).infer agent --session-id).--weband non-interactive (piped) modes.infer conversations list.Affected pages: the CLI chat command reference (wherever
infer chatflags are documented), plus a cross-link from theinfer agent --session-iddocs.Example to add:
infer conversations list # Find session IDs infer chat --session-id abc-123-defSource: inference-gateway/cli#760
Acceptance Criteria
infer chat --session-iddocumented on the chat command page with the resume exampleinfer chat --session-idandinfer agent --session-iddocs