e940655d44bd738aaa1e04794f7bf3afdb6a861d
The cr146 commit (a31fb1f6bc) updated the reading side of
endpoint from .endpoint.url to .endpoint to match the new
url.mojom.Url -> string typemap, but on the writing side it
changed `endpoint: mojomUrl` to `endpoint: mojomUrl.toString()`
instead of removing the { url: '' } wrapper object. This
caused toString() to produce "[object Object]" instead of
the actual URL string, breaking Mojo deserialization when
adding or editing custom models in Leo settings.
Fix by removing the mojomUrl wrapper and passing
this.endpointUrl directly, consistent with how the reading
side already works.
…
…
…
…
…
…
Brave Core
Brave Core is a set of changes, APIs, and scripts used for customizing Chromium to make the Brave browser. Please also check https://github.com/brave/brave-browser
Follow @brave on Twitter for important announcements.
Resources
Community
You can ask questions and interact with the community in the following locations:
- Brave Community
communitychannel on Brave Software's Slack
Languages
C++
36.9%
HTML
31.6%
Swift
9.4%
TypeScript
9%
Java
4.8%
Other
8.1%