mirror of
https://github.com/vegu-ai/talemate.git
synced 2026-05-18 05:05:39 +02:00
Prep 0.13.2 (#33)
* fix issue with client removal * client type not editable after creation (keeps things simple) * fixes issue with openai client bugging out (api_url not set) * fix issues with edit client not reflecting changes to UX * 0.13.2
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<v-container>
|
||||
<v-row>
|
||||
<v-col cols="6">
|
||||
<v-select v-model="client.type" :items="['openai', 'textgenwebui', 'lmstudio']" label="Client Type"></v-select>
|
||||
<v-select v-model="client.type" :disabled="!typeEditable()" :items="['openai', 'textgenwebui', 'lmstudio']" label="Client Type"></v-select>
|
||||
</v-col>
|
||||
<v-col cols="6">
|
||||
<v-text-field v-model="client.name" label="Client Name"></v-text-field>
|
||||
@@ -68,6 +68,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
typeEditable() {
|
||||
return this.state.formTitle === 'Add Client';
|
||||
},
|
||||
close() {
|
||||
this.$emit('update:dialog', false);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user