From ca9755db083a421a643aad7a826ad052062588f3 Mon Sep 17 00:00:00 2001
From: asyncButNeverAwaits
<111964298+asyncButNeverAwaits@users.noreply.github.com>
Date: Tue, 12 Mar 2024 20:28:46 +0800
Subject: [PATCH] Remove model setting in ClaudeAI
---
src/bots/ClaudeAIBot.js | 2 +-
.../BotSettings/ClaudeAIBotSettings.vue | 19 -------------------
src/store/index.js | 1 -
3 files changed, 1 insertion(+), 21 deletions(-)
diff --git a/src/bots/ClaudeAIBot.js b/src/bots/ClaudeAIBot.js
index c8cb297615..bac43dcefa 100644
--- a/src/bots/ClaudeAIBot.js
+++ b/src/bots/ClaudeAIBot.js
@@ -53,7 +53,7 @@ export default class ClaudeAIBot extends Bot {
const url = `https://claude.ai/api/organizations/${store.state.claudeAi.org}/chat_conversations/${context.uuid}/completion`;
const payload = JSON.stringify({
attachments: [],
- model: store.state.claudeAi.model,
+ files: [],
prompt: prompt,
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
});
diff --git a/src/components/BotSettings/ClaudeAIBotSettings.vue b/src/components/BotSettings/ClaudeAIBotSettings.vue
index fa5e22fbc3..93bfbf0ed4 100644
--- a/src/components/BotSettings/ClaudeAIBotSettings.vue
+++ b/src/components/BotSettings/ClaudeAIBotSettings.vue
@@ -1,38 +1,19 @@
-