This issue was posted by Codex Desktop using gpt-5.6-sol on behalf of David.
Background
While validating pydantic/pydantic-ai#6761, we found that the compiler-side fix in github/gh-aw#48107 cannot activate against the latest AWF release, v0.27.42. gh-aw currently gates emission of provider pricing behind AWFAPIProxyProvidersMinVersion=v0.27.43 because v0.27.42 does not accept the new configuration.
The original behavior was reported in github/gh-aw#47365.
Problem
AWF's configuration schema and runtime do not yet support provider pricing overlays under apiProxy.providers.
As a result, custom/BYOK model pricing configured in a gh-aw workflow cannot reach the API proxy. With a normal maxAiCredits budget, an unknown model fails with unknown_model_ai_credits. The same applies to the separate threat-detection API proxy, which can fail and discard otherwise safe workflow output.
gh-aw must therefore suppress apiProxy.providers while targeting AWF v0.27.42, and downstream workflows must use max-ai-credits: -1 as a workaround.
Expected behavior
References
This issue was posted by Codex Desktop using gpt-5.6-sol on behalf of David.
Background
While validating pydantic/pydantic-ai#6761, we found that the compiler-side fix in github/gh-aw#48107 cannot activate against the latest AWF release, v0.27.42. gh-aw currently gates emission of provider pricing behind
AWFAPIProxyProvidersMinVersion=v0.27.43because v0.27.42 does not accept the new configuration.The original behavior was reported in github/gh-aw#47365.
Problem
AWF's configuration schema and runtime do not yet support provider pricing overlays under
apiProxy.providers.As a result, custom/BYOK model pricing configured in a gh-aw workflow cannot reach the API proxy. With a normal
maxAiCreditsbudget, an unknown model fails withunknown_model_ai_credits. The same applies to the separate threat-detection API proxy, which can fail and discard otherwise safe workflow output.gh-aw must therefore suppress
apiProxy.providerswhile targeting AWF v0.27.42, and downstream workflows must usemax-ai-credits: -1as a workaround.Expected behavior
apiProxy.providersin its configuration schema.models.providerspricing into AWFapiProxy(including threat-detection runs) gh-aw#48107 to emit the configuration.References
models.providerspricing into AWFapiProxy(including threat-detection runs) gh-aw#48107 — merged gh-aw compiler supportCI Reviewonly after CI passes and separatedouwebotpydantic/pydantic-ai#6761 — downstream workflow where this was reproduced