Skip to content

fix(config): route providers through unified config - #1715

Merged
christso merged 2 commits into
mainfrom
fix/root-providers-config
Jul 7, 2026
Merged

fix(config): route providers through unified config#1715
christso merged 2 commits into
mainfrom
fix/root-providers-config

Conversation

@christso

@christso christso commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • rename the root provider catalog from .agentv/targets.yaml to .agentv/providers.yaml and reference it from .agentv/config.yaml with providers: file://providers.yaml
  • make eval selection use the config-provided provider catalog path by default, with explicit --providers still overriding
  • allow bare provider arrays for provider catalog refs and align config validation with project execution defaults
  • update the readme quickstart example to the unified providers/defaults shape

Validation

  • bun test packages/core/test/evaluation/providers/targets-file.test.ts packages/core/test/evaluation/loaders/config-loader.test.ts packages/core/test/evaluation/validation/config-validator.test.ts apps/cli/test/commands/eval/targets.test.ts apps/cli/test/commands/eval/run-command-options.test.ts
  • bun --filter @agentv/core typecheck && bun --filter agentv typecheck
  • bun apps/cli/src/cli.ts validate .agentv/config.yaml .agentv/providers.yaml
  • bun apps/cli/src/cli.ts validate examples/features/readme-quickstart/.agentv/config.yaml examples/features/readme-quickstart/.agentv/providers.yaml examples/features/readme-quickstart/.agentv/defaults.yaml
  • live dogfood with local OpenAI-compatible proxy: readme-quickstart passed 1/1 from example cwd and from repo root using root .agentv/config.yaml + .agentv/providers.yaml

Bead: av-yxx7

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 7, 2026

Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: c28052a
Status: ✅  Deploy successful!
Preview URL: https://ceb25099.agentv.pages.dev
Branch Preview URL: https://fix-root-providers-config.agentv.pages.dev

View logs

@christso
christso merged commit 2d14a09 into main Jul 7, 2026
9 checks passed
@christso
christso deleted the fix/root-providers-config branch July 7, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant