Skip to content

[DOCS] Document infer chat --session-id resume flag #349

Description

@edenreich

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

  • infer chat --session-id documented on the chat command page with the resume example
  • Fallback semantics (adopt requested ID when not found; storage requirement) documented
  • Cross-link between infer chat --session-id and infer agent --session-id docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationreleased

    Type

    Fields

    No fields configured for Task.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions