{{ selected.title }}
+{{ option.title }} + + (coming soon..) +
+ + + +{{ option.description }}
+{{ option.title }}
++ {{ option.title }} + (coming soon..) +
@@ -42,14 +47,13 @@ const emit = defineEmits(['typeChosen']) const publishingOptions = [ - - - { key: "mock", title: 'Mock LLM', description: 'This will mock all the LLM features great for local development', current: true }, - { key: "openai", title: 'OpenAi', description: 'This will work with the OpenAi Api', current: false }, - { key: "mock", title: 'OpenAi Azure', description: 'This will work with the Azure OpenAi Api', current: false }, - { key: "ollama", title: 'Ollama', description: 'This will work with the Ollam API', current: false }, - { key: "mock", title: 'Gemini', description: 'This will work with the Gemini Api', current: false }, - { key: "mock", title: 'Claude', description: 'This will work with the Claude Api', current: false }, + { active: true, key: "mock", title: 'Mock LLM', description: 'This will mock all the LLM features great for local development', current: true }, + { active: true, key: "openai", title: 'OpenAi', description: 'This will work with the OpenAi Api', current: false }, + { active: true, key: "claude", title: 'Claude', description: 'This will work with the Claude Api', current: false }, + { active: false, key: "mock", title: 'OpenAi Azure', description: 'This will work with the Azure OpenAi Api', current: false }, + { active: false, key: "ollama", title: 'Ollama', description: 'This will work with the Ollam API', current: false }, + { active: false, key: "mock", title: 'Gemini', description: 'This will work with the Gemini Api', current: false }, + ] const selected = ref(publishingOptions[0]) diff --git a/resources/js/Pages/Collection/Components/ResourceForm.vue b/resources/js/Pages/Collection/Components/ResourceForm.vue index 08778479..fc87b515 100644 --- a/resources/js/Pages/Collection/Components/ResourceForm.vue +++ b/resources/js/Pages/Collection/Components/ResourceForm.vue @@ -11,9 +11,14 @@