From a025dfd76ef49861f7eb3b778eff40128789d587 Mon Sep 17 00:00:00 2001
From: timothycarambat <rambat1010@gmail.com>
Date: Tue, 16 Apr 2024 19:44:32 -0700
Subject: [PATCH] hide anthropic agent support due to incompatibilty for now

---
 .../ChatContainer/PromptInput/AgentMenu/index.jsx            | 4 ++--
 .../AgentConfig/AgentLLMSelection/index.jsx                  | 5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/AgentMenu/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/AgentMenu/index.jsx
index ef73cb656..8407c68db 100644
--- a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/AgentMenu/index.jsx
+++ b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/AgentMenu/index.jsx
@@ -162,8 +162,8 @@ function FirstTimeAgentUser() {
                 more.
                 <br />
                 <br />
-                Currently, agents only work with OpenAI and Anthropic as your
-                agent LLM. All providers will be supported in the future.
+                Currently, agents only work with OpenAI as your agent LLM. All
+                LLM providers will be supported in the future.
               </p>
               <p className="text-green-300/60 text-xs md:text-sm">
                 This feature is currently early access and fully custom agents
diff --git a/frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx b/frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx
index f1b997470..af6ae7549 100644
--- a/frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx
+++ b/frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx
@@ -5,7 +5,10 @@ import { AVAILABLE_LLM_PROVIDERS } from "@/pages/GeneralSettings/LLMPreference";
 import { CaretUpDown, MagnifyingGlass, X } from "@phosphor-icons/react";
 import AgentModelSelection from "../AgentModelSelection";
 
-const ENABLED_PROVIDERS = ["openai", "anthropic"];
+const ENABLED_PROVIDERS = [
+  "openai",
+  // "anthropic"
+];
 
 const LLM_DEFAULT = {
   name: "Please make a selection",
-- 
GitLab