Originally created by @lee-b on GitHub (Aug 4, 2024).
Bug Report
Description
When sending messages, with a custom stop token set in the chat's side panel properties, I get this error:
"(intermediate value).map is not a function"
Also, when regenerating a message, I get this similar error inline, as the message body (but when the message background red):
"Uh-oh! There was an issue connecting to (model).
(intermediate value).map is not a function"
Setting a stop token of "<|im_end|>" in the chat properties seems to cause this.
Setting the same stop token in the (base) workspace model advanced properties works fine, however. This seems to be a good indication of the problem (escaping in the side panel values missing, whilst present in the workspace model properties), as well as a workaround.
Originally created by @lee-b on GitHub (Aug 4, 2024).
# Bug Report
## Description
When sending messages, with a custom stop token set in the chat's side panel properties, I get this error:
"(intermediate value).map is not a function"
Also, when regenerating a message, I get this similar error inline, as the message body (but when the message background red):
"Uh-oh! There was an issue connecting to (model).
(intermediate value).map is not a function"
Setting a stop token of "<|im_end|>" in the chat properties seems to cause this.
Setting the same stop token in the (base) workspace model advanced properties works fine, however. This seems to be a good indication of the problem (escaping in the side panel values missing, whilst present in the workspace model properties), as well as a workaround.
## Version
HEAD, as of yesterday (d3146d20ad74c020855142b2bf7e371f981ec098)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @lee-b on GitHub (Aug 4, 2024).
Bug Report
Description
When sending messages, with a custom stop token set in the chat's side panel properties, I get this error:
"(intermediate value).map is not a function"
Also, when regenerating a message, I get this similar error inline, as the message body (but when the message background red):
"Uh-oh! There was an issue connecting to (model).
(intermediate value).map is not a function"
Setting a stop token of "<|im_end|>" in the chat properties seems to cause this.
Setting the same stop token in the (base) workspace model advanced properties works fine, however. This seems to be a good indication of the problem (escaping in the side panel values missing, whilst present in the workspace model properties), as well as a workaround.
Version
HEAD, as of yesterday (
d3146d20ad)@tjbck commented on GitHub (Aug 4, 2024):
Fixed on dev!