feat: logs show reject reason

This commit is contained in:
Seefs committed 2026-01-25 14:52:18 +08:00
1 parent 7af4d07843
commit 68e1e635e9
7 files changed
+33

No files matched your search

+4
View File
@@ -55,4 +55,8 @@ const (
ContextKeyLocalCountTokens ContextKey = "local_count_tokens"
ContextKeySystemPromptOverride ContextKey = "system_prompt_override"
// ContextKeyAdminRejectReason stores an admin-only reject/block reason extracted from upstream responses.
// It is not returned to end users, but can be persisted into consume/error logs for debugging.
ContextKeyAdminRejectReason ContextKey = "admin_reject_reason"
)