chore(api): update generated SDK attribution - #2125
Open
apcha-oai wants to merge 1 commit into
Open
Conversation
Castiron-Internal-PR: openai/openai-node-internal#24 Castiron-Source-SHA: 0f28f1a81a3ef6ee4d3fcb1e2ac1dd9b5ef418d7 Castiron-Public-Base-SHA: cf6237f
| import { APIResource } from '../../core/resource'; | ||
| import * as OrganizationAPI from './organization/organization'; | ||
| import { Organization } from './organization/organization'; | ||
| import { APIPromise } from '../../core/api-promise'; |
| import * as OrganizationAPI from './organization/organization'; | ||
| import { Organization } from './organization/organization'; | ||
| import { APIPromise } from '../../core/api-promise'; | ||
| import { RequestOptions } from '../../internal/request-options'; |
| // File generated from our OpenAPI spec by Castiron. See CONTRIBUTING.md for details. | ||
|
|
||
| import { APIResource } from '../../../core/resource'; | ||
| import { APIPromise } from '../../../core/api-promise'; |
| UserUpdateParams, | ||
| Users, | ||
| } from './users/users'; | ||
| import { APIPromise } from '../../../core/api-promise'; |
| Users, | ||
| } from './users/users'; | ||
| import { APIPromise } from '../../../core/api-promise'; | ||
| import { RequestOptions } from '../../../internal/request-options'; |
| // File generated from our OpenAPI spec by Castiron. See CONTRIBUTING.md for details. | ||
|
|
||
| import { APIResource } from '../../../../core/resource'; | ||
| import { APIPromise } from '../../../../core/api-promise'; |
| TranslationVerbose, | ||
| Translations, | ||
| } from './translations'; | ||
| import { APIPromise } from '../../core/api-promise'; |
| Translations, | ||
| } from './translations'; | ||
| import { APIPromise } from '../../core/api-promise'; | ||
| import { RequestOptions } from '../../internal/request-options'; |
| ThreadListParams, | ||
| Threads, | ||
| } from './threads'; | ||
| import { APIPromise } from '../../../core/api-promise'; |
| Threads, | ||
| } from './threads'; | ||
| import { APIPromise } from '../../../core/api-promise'; | ||
| import { RequestOptions } from '../../../internal/request-options'; |
apcha-oai
enabled auto-merge
August 7, 2026 03:55
jbeckwith-oai
requested changes
Aug 7, 2026
jbeckwith-oai
left a comment
Contributor
There was a problem hiding this comment.
This attribution-only regeneration also adds 41 unused imported symbols across 24 generated files (for example, src/resources/admin/admin.ts, src/resources/shared.ts, and src/resources/fine-tuning/methods.ts; the two Responses files also add an unused PagePromise). The generated-file lint exclusion hides the full set, although code-quality has already flagged representative instances. Please fix Castiron import collection to emit only referenced symbols and regenerate instead of hand-editing generated output. After ignoring the attribution headers, these imports are the only TypeScript changes, so the regenerated source should remain attribution-only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
chore(api): update generated SDK attribution