Prepend base.yaml only when a real base config is named by gyanu2507 · Pull Request #70 · microsoft/Webwright · GitHub
Skip to content

Prepend base.yaml only when a real base config is named - #70

Open
Gyanu Mayank (gyanu2507) wants to merge 1 commit into
microsoft:mainfrom
gyanu2507:fix/agent-cfg-base-filename
Open

Prepend base.yaml only when a real base config is named#70
Gyanu Mayank (gyanu2507) wants to merge 1 commit into
microsoft:mainfrom
gyanu2507:fix/agent-cfg-base-filename

Conversation

@gyanu2507

@gyanu2507 Gyanu Mayank (gyanu2507) commented Sep 3, 2026

Copy link
Copy Markdown

Summary

agent_cfg prepends base.yaml unless some config path contains the substring base. That fires on database.yaml and my_base_model.yaml, so -c those files never got the agent system/instance templates and the run failed in pydantic.

Match on the filename base.yaml instead (including configs/base.yaml).

Test plan

  • database.yaml and my_base_model.yaml get base.yaml prepended
  • configs/base.yaml is left as the base, not doubled
  • existing model_gateway.yaml / explicit base.yaml cases still pass

`database.yaml` and `my_base_model.yaml` contain the substring "base", so
-c those files skipped the agent templates and the run died in pydantic.
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