refactor(config): drop agent.provider

This commit is contained in:
Peter Steinberger committed 2025-12-26 01:13:42 +01:00
1 parent 8b815bce94
commit 1ef888ca23
14 files changed
+98 -61

No files matched your search

+1 -3
View File
@@ -306,8 +306,7 @@ export type ClawdisConfig = {
models?: ModelsConfig;
agent?: {
/** Provider id, e.g. "anthropic" or "openai" (pi-ai catalog). */
provider?: string;
/** Model id within provider, e.g. "claude-opus-4-5". */
/** Model id (provider/model), e.g. "anthropic/claude-opus-4-5". */
model?: string;
/** Agent working directory (preferred). Used as the default cwd for agent runs. */
workspace?: string;
@@ -565,7 +564,6 @@ const ClawdisSchema = z.object({
models: ModelsConfigSchema,
agent: z
.object({
provider: z.string().optional(),
model: z.string().optional(),
workspace: z.string().optional(),
allowedModels: z.array(z.string()).optional(),