Skip to content

docs: call out OS argv length limit for large string system_prompt #1099

Description

@tapheret2

Why

Very large system_prompt strings can fail at process spawn (Argument list too long) before any API call.

Proposal

Document:

  • prefer system_prompt={"type":"file","path":...} for large prompts
  • platform notes (Linux MAX_ARG_STRLEN)

Acceptance

  • Docs note near system_prompt options

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions