Add Ollama native API to support keep alive parameters (#748)

* Add Chinese translation.

* Optimize style.

* Add Ollama native API to support keep alive parameters.

* Optimized popup page style.

* fix: Fixed data type for Ollama keep_alive parameter forever
This commit is contained in:
LzSkyline
2024-07-30 16:53:08 +08:00
committed by GitHub
parent 9ad66983c3
commit 488170068c
13 changed files with 241 additions and 5 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ async function mountComponent(siteConfig, userConfig) {
})
const position = {
x: window.innerWidth - 300 - (Math.floor((20 / 100) * window.innerWidth)),
x: window.innerWidth - 300 - Math.floor((20 / 100) * window.innerWidth),
y: window.innerHeight / 2 - 200,
}
const toolbarContainer = createElementAtPosition(position.x, position.y)