feat(agent): enforce provider/model and identity defaults

This commit is contained in:
Peter Steinberger committed 2025-12-14 04:22:38 +00:00
1 parent a097c848bb
commit b817225fb8
7 files changed
+150 -21

No files matched your search

+1
View File
@@ -1,5 +1,6 @@
// Defaults for agent metadata when upstream does not supply them.
// Model id uses pi-ai's built-in Anthropic catalog.
export const DEFAULT_PROVIDER = "anthropic";
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;