Commit 28ca6fb6 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac

parent da4586f2
...@@ -726,7 +726,6 @@ async def generate_chat_completion( ...@@ -726,7 +726,6 @@ async def generate_chat_completion(
model_info = Models.get_model_by_id(model_id) model_info = Models.get_model_by_id(model_id)
if model_info: if model_info:
print(model_info)
if model_info.base_model_id: if model_info.base_model_id:
payload["model"] = model_info.base_model_id payload["model"] = model_info.base_model_id
......
...@@ -359,7 +359,6 @@ async def generate_chat_completion( ...@@ -359,7 +359,6 @@ async def generate_chat_completion(
model_info = Models.get_model_by_id(model_id) model_info = Models.get_model_by_id(model_id)
if model_info: if model_info:
print(model_info)
if model_info.base_model_id: if model_info.base_model_id:
payload["model"] = model_info.base_model_id payload["model"] = model_info.base_model_id
......
...@@ -1145,28 +1145,6 @@ ...@@ -1145,28 +1145,6 @@
return []; 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> </script>
<svelte:head> <svelte:head>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment