Update openai provider types#347
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 549ee55a7c
ℹ️ 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".
| #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, TS)] | ||
| #[ts(export_to = "openai/")] | ||
| pub struct InputTokensDetails { | ||
| /// The number of tokens that were retrieve |
There was a problem hiding this comment.
Restore generated OpenAI provider types
With this file reduced to only a comment, every OpenAI type it previously exported disappears, so builds that include the OpenAI provider fail as soon as modules such as validation/openai.rs import CreateChatCompletionRequestClass, CreateResponseClass, and related generated structs. Please regenerate or restore the generated OpenAI bindings instead of committing the Quicktype failure placeholder.
Useful? React with 👍 / 👎.
Automated update of Lingua provider types.
Provider:
openaiFeedback: comment
/bt goodor/bt badto log review feedback to the Braintrust trace.Validation
./pipelines/generate-provider-types.sh openai: failure./pipelines/generate-provider-types.sh openai: failuremake generate-types: failuremake generate-types: failurecargo fmt --all: successcargo build --all-features: failurecargo clippy --all-targets --all-features -- -D warnings: failuremake typed-boundary-check: successcargo test -p coverage-report --test cross_provider_test cross_provider_transformations_have_no_unexpected_failures: failureThis PR is created even when validation fails so the generated update and repair attempt are available for manual follow-up.