Skip to content

Improve the error message when "Connect to DTD" tool fails #177

Closed
@DanTup

Description

@DanTup

If I restart DTD in VS Code, interacting with Copilot Chat will sometimes trigger a call to "Connect to DTD" with a stable URI (because it reuses the last URI it fetched, unaware that it has changed). This results in an exception, which prevents the action from getting any further:

Image

If I tell it to "try again" then it re-requests the DTD URI from Dart-Code and everything works.

I wonder if improving the error message when "Connect to DTD" fails may help the model understand that it should try getting an updated DTD URI by calling the "Get DTD URI" tool again? (for example if it suggesting "checking the DTD URI", instead of just providing the raw exception text)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions