add ollama package and support for ollama-hosted model

This commit is contained in:
kwaroran
2024-04-17 21:01:56 +09:00
parent e10723aec5
commit 4f8477538d
7 changed files with 61 additions and 0 deletions

View File

@@ -95,6 +95,8 @@ export function getModelName(name:string){
return 'GPT-4 Turbo (20240409)'
case 'gemini-1.5-pro-latest':
return 'Gemini 1.5 Pro'
case 'ollama-hosted':
return 'Ollama'
default:
if(name.startsWith("horde:::")){
const split = name.split(":::")