mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: record model thoughts (#22676)
Depends on https://github.com/coder/aibridge/pull/203 Closes https://github.com/coder/internal/issues/1337 --------- Signed-off-by: Danny Kopping <danny@coder.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Monitoring
|
||||
|
||||
AI Bridge records the last `user` prompt, token usage, and every tool invocation for each intercepted request. Each capture is tied to a single "interception" that maps back to the authenticated Coder identity, making it easy to attribute spend and behaviour.
|
||||
AI Bridge records the last `user` prompt, token usage, model reasoning, and every tool invocation for each intercepted request. Each capture is tied to a single "interception" that maps back to the authenticated Coder identity, making it easy to attribute spend and behaviour.
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ AI Bridge can relay traffic to other OpenAI- or Anthropic-compatible services or
|
||||
|
||||
## Data Retention
|
||||
|
||||
AI Bridge records prompts, token usage, and tool invocations for auditing and
|
||||
AI Bridge records prompts, token usage, tool invocations, and model reasoning for auditing and
|
||||
monitoring purposes. By default, this data is retained for **60 days**.
|
||||
|
||||
Configure retention using `--aibridge-retention` or `CODER_AIBRIDGE_RETENTION`:
|
||||
|
||||
Reference in New Issue
Block a user