Skip to main content
PATCH
Set your context strategy

Authorizations

Authorization
string
header
required

Session JWT. After nasiko auth login, print it with jq -r '.clusters[.active].token' ~/.nasiko/config.json. API keys aren't supported.

Body

application/json
strategy
enum<string>
required

A user's conversation-history context-selection strategy.

Available options:
pacms,
topk,
lastk
enabled
boolean | null

Sent only when it changed. Absent means keep.

Response

Saved; body {strategy, enabled?} — the strategy and effective state after the write