Timothy J. Baek 11 months ago
parent
commit
28ca6fb678
3 changed files with 0 additions and 24 deletions
  1. 0 1
      backend/apps/ollama/main.py
  2. 0 1
      backend/apps/openai/main.py
  3. 0 22
      src/lib/components/chat/Chat.svelte

+ 0 - 1
backend/apps/ollama/main.py

@@ -726,7 +726,6 @@ async def generate_chat_completion(
     model_info = Models.get_model_by_id(model_id)
 
     if model_info:
-        print(model_info)
         if model_info.base_model_id:
             payload["model"] = model_info.base_model_id
 

+ 0 - 1
backend/apps/openai/main.py

@@ -359,7 +359,6 @@ async def generate_chat_completion(
     model_info = Models.get_model_by_id(model_id)
 
     if model_info:
-        print(model_info)
         if model_info.base_model_id:
             payload["model"] = model_info.base_model_id
 

+ 0 - 22
src/lib/components/chat/Chat.svelte

@@ -1145,28 +1145,6 @@
 			return [];
 		});
 	};
-
-	const addTag = async (tagName) => {
-		const res = await addTagById(localStorage.token, $chatId, tagName);
-		tags = await getTags();
-
-		chat = await updateChatById(localStorage.token, $chatId, {
-			tags: tags
-		});
-
-		_tags.set(await getAllChatTags(localStorage.token));
-	};
-
-	const deleteTag = async (tagName) => {
-		const res = await deleteTagById(localStorage.token, $chatId, tagName);
-		tags = await getTags();
-
-		chat = await updateChatById(localStorage.token, $chatId, {
-			tags: tags
-		});
-
-		_tags.set(await getAllChatTags(localStorage.token));
-	};
 </script>
 
 <svelte:head>