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:
FInalWombat
2023-11-19 20:43:15 +02:00
committed by GitHub
parent 816f950afe
commit d250df8950
6 changed files with 17 additions and 5 deletions

View File

@@ -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);
},