-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/codelens support multiple messages #169
Conversation
It looks like the chat is being called twice so there's two streams |
this one is tricky, needs a bit of reconsideration on how to get it or maybe this one is getting parsed in LSP binary |
if (('type' in content) && content.type === 'text') { | ||
return replaceVariablesInText(content.text, relative_path, cursor, text); | ||
} | ||
}).join("\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will join concat all the objects to a string ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only if there's images, I don't think code lens will be adding images :)
if (('type' in content) && content.type === 'text') { | ||
return replaceVariablesInText(content.text, relative_path, cursor, text); | ||
} | ||
}).join("\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only if there's images, I don't think code lens will be adding images :)
Relies on #275 pull request of
refact-chat-js