This commit is contained in:
2025-08-26 20:27:30 +02:00
parent 135e73691b
commit 994151374e
82 changed files with 10 additions and 148 deletions

View File

@@ -216,7 +216,6 @@ export function ChatbotManager() {
const data = await apiClient.get('/api-internal/v1/chatbot/list')
setChatbots(data)
} catch (error) {
console.error('Failed to load chatbots:', error)
toast({
title: "Error",
description: "Failed to load chatbots",
@@ -232,7 +231,6 @@ export function ChatbotManager() {
const data = await apiClient.get('/api-internal/v1/rag/collections')
setRagCollections(data.collections || [])
} catch (error) {
console.error('Failed to load RAG collections:', error)
}
}
@@ -241,7 +239,6 @@ export function ChatbotManager() {
const templates = await apiClient.get('/api-internal/v1/prompt-templates/templates')
setPromptTemplates(templates)
} catch (error) {
console.error('Failed to load prompt templates:', error)
}
}
@@ -345,7 +342,6 @@ export function ChatbotManager() {
description: `${deletingChatbot.name} has been deleted`
})
} catch (error) {
console.error('Failed to delete chatbot:', error)
toast({
title: "Error",
description: error instanceof Error ? error.message : "Failed to delete chatbot",