mirror of
https://github.com/voideditor/void
synced 2026-05-24 01:48:25 +00:00
rm comments
This commit is contained in:
parent
d9cf21448c
commit
9ec13d2ad8
1 changed files with 0 additions and 2 deletions
|
|
@ -25,7 +25,6 @@ export const ollamaList: _InternalModelListFnType<OllamaModelResponse> = async (
|
|||
const ollama = new Ollama({ host: thisConfig.endpoint })
|
||||
ollama.list()
|
||||
.then((response) => {
|
||||
// console.log('MODELS!!!!!!!!!!!!!!!!!', response)
|
||||
const { models } = response
|
||||
onSuccess({ models })
|
||||
})
|
||||
|
|
@ -69,7 +68,6 @@ export const sendOllamaFIM: _InternalOllamaFIMMessageFnType = ({ messages, onTex
|
|||
onText({ newText, fullText });
|
||||
}
|
||||
onFinalMessage({ fullText });
|
||||
console.log('!!!!! OLLAMA RESULT', JSON.stringify(fullText))
|
||||
})
|
||||
// when error/fail
|
||||
.catch((error) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue