Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Hosted MCP support #731

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2025
Merged

Hosted MCP support #731

merged 1 commit into from
May 21, 2025

Conversation

rm-openai
Copy link
Collaborator

@rm-openai rm-openai commented May 21, 2025

@@ -308,3 +358,13 @@ def decorator(real_func: ToolFunction[...]) -> FunctionTool:
return _create_function_tool(real_func)

return decorator
return decorator
Copy link
Contributor

Choose a reason for hiding this comment

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

Pretty sure the first one should work :)

@@ -375,6 +409,34 @@ def process_model_response(
computer_actions.append(
ToolRunComputerAction(tool_call=output, computer_tool=computer_tool)
)
elif isinstance(output, McpApprovalRequest):
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: inconsistent MCP casing

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Comes from the SDK unfortunately. I gave the feedback but it wasnt taken into account

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess that's the SDK

rm-openai added a commit that referenced this pull request May 21, 2025
---
[//]: # (BEGIN SAPLING FOOTER)
* #732
* #731
* __->__ #730
Base automatically changed from rm/pr730 to main May 21, 2025 19:18
@rm-openai rm-openai merged commit 9fa5c39 into main May 21, 2025
10 checks passed
@rm-openai rm-openai deleted the rm/pr731 branch May 21, 2025 19:21
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