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
@@ -5,7 +5,7 @@ import ReadButton from '../ReadButton'
import PropTypes from 'prop-types'
import MarkdownRender from '../MarkdownRender/markdown.jsx'
import { useTranslation } from 'react-i18next'
import { isUsingCustomModel } from '../../config/index.mjs'
import { isUsingCustomModel, isUsingOllamaModel } from '../../config/index.mjs'
import { useConfig } from '../../hooks/use-config.mjs'
function AnswerTitle({ descName, modelName }) {