Polyman Documentation - v3.1.0
    Preparing search index...
    • The JSON body of a Messages request. The system prompt and the tool list get cache_control, since they are the same in every step of a session.

      Parameters

      • req: ChatRequest
      • defaultMaxTokens: number = DEFAULT_MAX_TOKENS

      Returns Record<string, unknown>