You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran into an issue with using the Ollama API through Open-WebUI.
They add an id message at the beginning of the stream that does not include a '.response' part of the message which causes llama-coder to have issues because it still tries to iterate 'tokens.reponse'.
It can be easily fixed by adding the following code to Line 28 of the autocomplete.js file.
if('response'intokens){
...
// This is just to show where the closing bracket goes, this is existing code.if(totalLines>args.maxLines&&blockStack.length===0){(0,log_1.info)('Too many lines, breaking.');break;}}
The text was updated successfully, but these errors were encountered:
Ran into an issue with using the Ollama API through Open-WebUI.
They add an id message at the beginning of the stream that does not include a '.response' part of the message which causes llama-coder to have issues because it still tries to iterate 'tokens.reponse'.
It can be easily fixed by adding the following code to Line 28 of the autocomplete.js file.
The text was updated successfully, but these errors were encountered: