Merge branch '32387_replace_deprecated_togetherai_models' into 'master'
#32388 - AI-Pro: Replace deprecated TogetherAI models - ChatBot+ See merge request !116
Showing
2 changed files
with
2 additions
and
2 deletions
| ... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment