85160124 by Administrator

Merge branch '32387_replace_deprecated_togetherai_models' into 'master'

#32388 - AI-Pro: Replace deprecated TogetherAI models - ChatBot+

See merge request !116
2 parents 2b954ae6 6f2d90d0
Pipeline #29517 for 85160124 passed in 18 seconds
...@@ -105,7 +105,7 @@ function App() { ...@@ -105,7 +105,7 @@ function App() {
105 } 105 }
106 106
107 if(currentModel === "openchat_3.5" || currentModel === "zephyr-7B-beta" 107 if(currentModel === "openchat_3.5" || currentModel === "zephyr-7B-beta"
108 || currentModel === "meta-llama/Llama-3-8b-chat-hf" || currentModel === "google/gemma-7b-it") { 108 || currentModel === "meta-llama/Llama-3-8b-chat-hf" || currentModel === "google/gemma-2-9b-it") {
109 // "gpt-3.5-turbo" 109 // "gpt-3.5-turbo"
110 let chatLogOpenSourceNew = [...chatLogOpenSource, { role: "user", content: chatInput }]; 110 let chatLogOpenSourceNew = [...chatLogOpenSource, { role: "user", content: chatInput }];
111 setChatLogOpenSource(chatLogOpenSourceNew); 111 setChatLogOpenSource(chatLogOpenSourceNew);
......
...@@ -93,7 +93,7 @@ app.post('/api', async (req, res) => { ...@@ -93,7 +93,7 @@ app.post('/api', async (req, res) => {
93 } 93 }
94 94
95 if (currentModel == "openchat_3.5" || currentModel == "zephyr-7B-beta" 95 if (currentModel == "openchat_3.5" || currentModel == "zephyr-7B-beta"
96 || currentModel == "google/gemma-7b-it" || currentModel == "meta-llama/Llama-3-8b-chat-hf" 96 || currentModel == "google/gemma-2-9b-it" || currentModel == "meta-llama/Llama-3-8b-chat-hf"
97 ) { 97 ) {
98 runOpensource(req, res); 98 runOpensource(req, res);
99 99
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!