parseChatRequestWithReferences(references: ReadonlyArray<IDynamicVariable>, selectedToolAndToolSets: ToolAndToolSetEnablementMap, message: string, location: ChatAgentLocation = ChatAgentLocation.Chat, context?: IChatParserContext): IParsedChatRequest {
const toolsByName = new Map<string, IToolData>();
const toolSetsByName = new Map<string, IToolSet>();
for (const [entry, enabled] of selectedToolAndToolSets) {
if (enabled) {
if (isToolSet(entry)) {