Include medata about current resource by default in Duo Chat prompt
At present, a lot of the failed test cases in Duo Chat relate to it not correctly identifying the current resource as the subject of the question when the user refers to it indirectly, for example as "this", or by talking about its properties, for example in the question "Summarize the comments into bullet points?" when looking at an issue (see e.g. this report).
When the Chat correctly identifies a resource, for example if the user made an explicit reference
(by URL or IID), or by being more specific in their phrasing ("this issue" usually works, vs "this"
which a lot of the times doesn't), it uses the ResourceReader
tool to provide resource metadata as
json. From this point, the chat can easily answer the question.
Proposal
Include in the prompt by default the metadata that ResourceReader
provides about the current resource,
to aid in resource-dependant questions