Skip to content

Dispose of create_async_openai_client#254

Merged
bmerkle merged 2 commits intomicrosoft:mainfrom
gvanrossum:create_client
Apr 28, 2026
Merged

Dispose of create_async_openai_client#254
bmerkle merged 2 commits intomicrosoft:mainfrom
gvanrossum:create_client

Conversation

@gvanrossum-ms
Copy link
Copy Markdown
Contributor

The only call site was in test_mcp_server.py. Switch that to import things from model_adapters.py.

@gvanrossum
Copy link
Copy Markdown
Collaborator

@bmerkle Can you review? Should be simple.

Copy link
Copy Markdown
Collaborator

@bmerkle bmerkle left a comment

Choose a reason for hiding this comment

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

only one small comment.
Otherwise LGTM and can be merged

Comment thread tests/test_mcp_server.py
),
model=response.model,
content=TextContent(type="text", text=text),
model="gpt-4o",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this is now hardcoded and not used from env or response anymore. (but not really a issue)

@bmerkle bmerkle merged commit 9d994a4 into microsoft:main Apr 28, 2026
16 checks passed
@gvanrossum gvanrossum deleted the create_client branch April 29, 2026 21:42
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.

3 participants