Skip to content

HTML not loading anymore, had it working yesterday (Oct 15th). #58

@boxshrutisingh

Description

@boxshrutisingh

The “hello.html” UI resource isn’t being invoked anymore. The Pizza Map example from the Apps SDK examples was also working but now fails. Since Oct 16, 2025, I’m not seeing any index.html requests in the logs; yesterday I briefly saw multiple 403s on index.html

server.registerResource(
  "hello-widget",
  "ui://widget/hello.html",
  {},
  async () => ({
    contents: [
      {
        uri: "ui://widget/hello.html",
        mimeType: "text/html+skybridge",
        text: "<h1 style='color:red;'>Hello, world!</h1>",
      },
    ],
  })
);

server.registerTool(
  "say-hello-with-ui",
  {
    title: "Say hello with UI",
    description: "Say hello to the world with a UI",
    _meta: {
      // must match the resource URI above
      "openai/outputTemplate": "ui://widget/hello.html",
      "openai/toolInvocation/invoking": "Loading UI",
      "openai/toolInvocation/invoked": "Loaded UI",
    },
  },
  () => ({
    content: [
      {
        type: "text",
        text: "Showing UI",
      },
    ],
  })
);
Image

`

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions