Skip to content

fix(gen): added model discovery endpoint - #238

Draft
yamaceay wants to merge 3 commits into
base-model-class-syncfrom
gen-model-discovery-minimal
Draft

yamaceay wants to merge 3 commits into
base-model-class-syncfrom
gen-model-discovery-minimal

Conversation

@yamaceay

@yamaceay yamaceay commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Context

Closes SAP/ai-sdk-python-backlog#76.

What this PR does and why it is needed

New model discovery convenience layer is introduced in gen package.

from gen_ai_hub.proxy import get_proxy_client
client = get_proxy_client("gen-ai-hub")
client.models[:1]

# Response
[<ai_api_client_sdk.models.model.Model at 0x10be876b0>]

@yamaceay
yamaceay force-pushed the gen-model-discovery-minimal branch from 67de787 to 5d51bd9 Compare November 20, 2026 09:37
@yamaceay
yamaceay force-pushed the gen-model-discovery-minimal branch from 5d51bd9 to 51eec67 Compare November 25, 2026 09:26
@yamaceay
yamaceay added this pull request to stack #243 November 25, 2026 09:54
mwien
mwien previously approved these changes Nov 25, 2026

@mwien mwien 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.

lgtm! Is stacking PRs needed?

@mwien

mwien commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Quick extra comment: Do we need to update/add tests or is this already covered?

@yamaceay
yamaceay marked this pull request as draft November 26, 2026 10:23

This branch has not been deployed

No deployments
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