Skip to content
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

bug: URIError: URI malformed when the language of response in the template #2064

Closed
numlock1052 opened this issue Feb 17, 2024 · 2 comments
Closed
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@numlock1052
Copy link

I just asked Jan with this request :

Donne moi un code Django d'une vue admin avec un model de type contact qui possède deux champ, first_name et last_name et qui inclu un template html django et la possibilité de choisir les colonnes visibles

I configured the template with these settings :

[INST] answer in french {prompt} [/INST]

I used the Mistral model downloaded from the Hub and if the Stream setting is enabled the client raises this error :

image

If the Stream is enabled :

image

If the Stream is disabled :

image

I did the test in the German language, we have another error in the terminal but it's finishing the response, but the content is not the same, so it's not relevant...

image

URIError: URI malformed
Please report this to https://github.com/markedjs/marked.
    at decodeURIComponent (<anonymous>)
    at _Renderer.code (page-e1f7c19f030c0381.js:3467:1130)
    at renderer.<computed> [as code] (178-3df7d54a6164e6f3.js:76460:48)
    at _Parser.parse (178-3df7d54a6164e6f3.js:76126:42)
    at parse (178-3df7d54a6164e6f3.js:76086:23)
    at Marked. parse (178-3df7d54a6164e6f3.js:76582:28)
    at SimpleTextMessage (page-e1f7c19f030c0381.js:3471:31)
    at Mf (618f8807-c0370e0f50991ad5.js:115:143)
    at Bh (618f8807-c0370e0f50991ad5.js:164:172)
    at Ah (618f8807-c0370e0f50991ad5.js:161:204)
@numlock1052 numlock1052 added the type: bug Something isn't working label Feb 17, 2024
@louis-jan louis-jan self-assigned this Feb 19, 2024
@louis-jan
Copy link
Contributor

cc: @urmaur, regarding MarkedJS.

@Van-QA Van-QA added this to the v0.4.10 milestone Mar 22, 2024
@Van-QA
Copy link
Contributor

Van-QA commented Mar 26, 2024

hi @numlock1052, we resolved the issue and tested as of Jan v0.4.9-343

Would you be able to try it out? feel free to reopen the issue if the issue persist 🙏

@Van-QA Van-QA closed this as completed Mar 26, 2024
@Van-QA Van-QA mentioned this issue Mar 27, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

4 participants