(request: Request)
| 79 | } |
| 80 | |
| 81 | override async fetch(request: Request): Promise<Response> { |
| 82 | return new URL(request.url).pathname === "/ws" |
| 83 | ? this.#backend.handleFetch(request) |
| 84 | : super.fetch(request); |
| 85 | } |
| 86 | |
| 87 | /** Run the agent. */ |
| 88 | async card(prompt: string): Promise<{ url: string; summary: string }> { |
nothing calls this directly
no test coverage detected