fix wrong key for backend
This commit is contained in:
parent
331c0e04a5
commit
3b72d80979
@ -154,7 +154,7 @@ export default class llamacpp_extension extends AIEngine {
|
|||||||
onSettingUpdate<T>(key: string, value: T): void {
|
onSettingUpdate<T>(key: string, value: T): void {
|
||||||
this.config[key] = value
|
this.config[key] = value
|
||||||
|
|
||||||
if (key === 'backend') {
|
if (key === 'version_backend') {
|
||||||
const valueStr = value as string
|
const valueStr = value as string
|
||||||
const [version, backend] = valueStr.split('/')
|
const [version, backend] = valueStr.split('/')
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user