Add bundled pi default and session token reporting

This commit is contained in:
Peter Steinberger committed 2025-12-05 23:18:43 +01:00
1 parent fe87160b19
commit 690113dd73
15 files changed
+427 -6

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
// Defaults for agent metadata when upstream does not supply them.
// Model id uses pi-ai's built-in Anthropic catalog.
export const DEFAULT_MODEL = "claude-opus-4-5";
// Context window: Opus 4.5 supports ~200k tokens (per pi-ai models.generated.ts).
export const DEFAULT_CONTEXT_TOKENS = 200_000;