Skip to content

Update openai provider types#347

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
update-openai-provider-types-49c63f3d-29244840262
Open

Update openai provider types#347
github-actions[bot] wants to merge 1 commit into
mainfrom
update-openai-provider-types-49c63f3d-29244840262

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated update of Lingua provider types.

Provider: openai

Feedback: comment /bt good or /bt bad to log review feedback to the Braintrust trace.

Validation

  • ./pipelines/generate-provider-types.sh openai: failure
  • Claude repair pass: failure
  • Retry ./pipelines/generate-provider-types.sh openai: failure
  • make generate-types: failure
  • Braintrust workflow trace: success
  • Claude integration review: failure
  • Post-review make generate-types: failure
  • cargo fmt --all: success
  • cargo build --all-features: failure
  • cargo clippy --all-targets --all-features -- -D warnings: failure
  • make typed-boundary-check: success
  • cargo test -p coverage-report --test cross_provider_test cross_provider_transformations_have_no_unexpected_failures: failure

This PR is created even when validation fails so the generated update and repair attempt are available for manual follow-up.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant