Skip to content

Conversation

@gregmercer
Copy link

@gregmercer gregmercer commented Oct 10, 2025

A simpler 'Test' widget and server - showing use of the window.openai function calls from the widget.

  • window.openai.sendFollowUpMessage()
  • window.openai.callTool()
  • window.openai.openExternal()
  • window.openai.requestDisplayMode()

Copy link
Collaborator

@katia-openai katia-openai left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Added a few comments to make this example consistent with the others

Copy link
Collaborator

Choose a reason for hiding this comment

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

to make it consistent with other examples, could you remove the pyproject.toml + uv.lock & .python-version?

Copy link
Author

Choose a reason for hiding this comment

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

Ok... I've removed these files.

@@ -0,0 +1,50 @@
## Known issues:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we remove this README?

Copy link
Author

Choose a reason for hiding this comment

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

Hi Katia, @katia-openai
Given the latest merges to the openai repo - it looks like this info is no longer need.
I've removed the entire file.


## Static files are used from the /static path on the MCP server

After running ```pnpm run build``` you need to copy all the test*.* files in the /assets directory to the /static folder under this server.
Copy link
Collaborator

Choose a reason for hiding this comment

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

You shouldn't need to do that specifically for this example, just adding the app to build-all is enough.

Copy link
Author

Choose a reason for hiding this comment

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

I happen to be copying the files over a static folder in the MCP server so that it can be served from the server instead using a cdn.

Copy link
Author

Choose a reason for hiding this comment

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

Hi Katia, @katia-openai
Given the latest merges to the openai repo - it looks like this info is no longer need.
I've removed the entire file.

@gregmercer
Copy link
Author

gregmercer commented Oct 15, 2025 via email

@gregmercer gregmercer mentioned this pull request Oct 16, 2025
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