You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Breaking: server asks for Agentica 0.40.0 (ml#302).
Breaking: server keeps its modules in src/: run it as agentica src/server.agc from server/; pkg/server/NAME imports are unchanged (ml#302).
--warm-context N compiles the plans of prompts and answers up to N tokens before the server listens, on XLA and without --kv-blocks, each logged with its ms (ml#477).
--log-level debug (or AGENTICA_ML_SERVING_DEBUG=1) prints a line per scheduler step with its device, rows, positions, KV room, plan (compiled or found) and the split of its time; /metrics adds each replica's compiles, plan hits, compile, execute and transfer ms, and the p50 and p95 step time (ml#477).
--backend xla serves a replica per device of the XLA plugin (each NeuronCore under AGENTICA_ML_NEURON_PLUGIN, run so far with our CPU plugin standing in), and the requests go round them in turn; Server.start takes the backends, and /metrics sums the replicas and lists each under replicas (ml#477).
--api-key-env NAME turns on an API key from the environment: every route needs Authorization: Bearer <key>, compared in constant time, and anything else is a 401; a host that is not loopback needs the key or --no-auth (ml#457).
A message whose content holds the text of a special token of the tokenizer, such as <|im_start|>, is a 400 in both routes (ml#422).
POST /v1/responses streams an answer in the Responses API shape, and previous_response_id continues the stored tokens of a response of the same client; with --kv-blocks and the new --reuse-prefixes the continuation reuses the KV of the turns before it (ml#422).