Skip to content

Fix AI Gateway package rename - #290

Merged
mihaimitrea-db merged 4 commits into
mainfrom
fix/aigateway-package-rename
Aug 6, 2026
Merged

Fix AI Gateway package rename#290
mihaimitrea-db merged 4 commits into
mainfrom
fix/aigateway-package-rename

Conversation

@mihaimitrea-db

@mihaimitrea-db mihaimitrea-db commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Moves AI Gateway from @databricks/sdk-uc-aigateway to @databricks/sdk-aigateway and updates the generated package.

Why

After the API package changed from Uc.AiGateway to AiGateway, Phoenix removed the old generated source but left its workspace package. Formatting then failed because that package had no TypeScript files.

What changed

  • Moved the package from packages/uc/aigateway to packages/aigateway.
  • Updated the package name, docs, TypeScript paths, and lockfile.
  • Regenerated the API models from the current definition.

How is this tested?

  • npm run format
  • npm run lint
  • npm run typecheck
  • npm test
  • npm run test:browser

@mihaimitrea-db
mihaimitrea-db marked this pull request as ready for review August 5, 2026 15:42

@parthban-db parthban-db left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please confirm that the breaking changes are expected.

Comment on lines -376 to -381
const params = new URLSearchParams();
if (req.includeBrowse !== undefined) {
params.append('include_browse', String(req.includeBrowse));
}
const query = params.toString();
const fullUrl = query !== '' ? `${url}?${query}` : url;

@mihaimitrea-db mihaimitrea-db Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It seems that include_browse is marked as PUBLIC_UNDOCUMENTED.

Comment on lines -551 to -555
/**
* Whether the caller sees only metadata available through the BROWSE
* privilege.
*/
browseOnly?: boolean | undefined;

@mihaimitrea-db mihaimitrea-db Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Same with browse_only.

Marked as PUBLIC_UNDOCUMENTED

* mirrors it to/from `aws_access_key`. Treated as username-equivalent (not a
* secret value): round-trips on reads and is scrubbed from audit logs.
*/
awsAccessKeyId?: string | undefined;

@mihaimitrea-db mihaimitrea-db Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Marked as deprecated.

* handler mirrors it to/from `aws_access_key`. Supplied as inline plaintext
* via `ProviderSecret.plaintext`.
*/
awsSecretAccessKey?: ModelProviderServiceConfig_ProviderSecret | undefined;

@mihaimitrea-db mihaimitrea-db Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Marked as deprecated.

…-rename

# Conflicts:
#	packages/aigateway/NEXT_CHANGELOG.md
#	packages/aigateway/package.json
#	packages/uc/aigateway/CHANGELOG.md
@mihaimitrea-db
mihaimitrea-db force-pushed the fix/aigateway-package-rename branch from 4372699 to a0eebd9 Compare August 6, 2026 10:43
@mihaimitrea-db
mihaimitrea-db added this pull request to the merge queue Aug 6, 2026
Merged via the queue into main with commit be95064 Aug 6, 2026
23 checks passed
@mihaimitrea-db
mihaimitrea-db deleted the fix/aigateway-package-rename branch August 6, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants