Update google provider types#332
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bd2790dd6a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".
| .iter() | ||
| .position(|line| { | ||
| let trimmed = line.trim(); | ||
| trimmed.is_empty() |
There was a problem hiding this comment.
Skip blank lines while stripping quicktype diagnostics
When quicktype or a CI wrapper emits a diagnostic preamble that contains a blank line before the first real Rust line, this predicate selects that blank line as the start of the generated source. Any subsequent non-Rust diagnostic lines remain in generated.rs, and the later cargo fmt result is ignored, so the generator can report success after writing an uncompilable file. Please skip empty lines until a real Rust token/comment has been found, then preserve blanks from there.
Useful? React with 👍 / 👎.
Automated update of Lingua provider types.
Provider:
googleFeedback: comment
/bt goodor/bt badto log review feedback to the Braintrust trace.Validation
./pipelines/generate-provider-types.sh google: failure./pipelines/generate-provider-types.sh google: successmake generate-types: successmake generate-types: successcargo fmt --all: successcargo build --all-features: successcargo clippy --all-targets --all-features -- -D warnings: successmake typed-boundary-check: successcargo test -p coverage-report --test cross_provider_test cross_provider_transformations_have_no_unexpected_failures: successThis PR is created even when validation fails so the generated update and repair attempt are available for manual follow-up.