Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into render

This commit is contained in:
timothycarambat 2024-09-28 15:50:31 -07:00
commit 53e0cd17f1
4 changed files with 21 additions and 3 deletions

View File

@ -121,7 +121,11 @@ export default function PromptInput({
} }
const pasteText = e.clipboardData.getData("text/plain"); const pasteText = e.clipboardData.getData("text/plain");
if (pasteText) setPromptInput((prev) => prev + pasteText.trim()); if (pasteText) {
const newPromptInput = promptInput + pasteText.trim();
setPromptInput(newPromptInput);
onChange({ target: { value: newPromptInput } });
}
return; return;
}; };

View File

@ -1,4 +1,16 @@
const MODELS = { const MODELS = {
"accounts/fireworks/models/llama-v3p2-3b-instruct": {
id: "accounts/fireworks/models/llama-v3p2-3b-instruct",
organization: "Meta",
name: "Llama 3.2 3B Instruct",
maxLength: 131072,
},
"accounts/fireworks/models/llama-v3p2-1b-instruct": {
id: "accounts/fireworks/models/llama-v3p2-1b-instruct",
organization: "Meta",
name: "Llama 3.2 1B Instruct",
maxLength: 131072,
},
"accounts/fireworks/models/llama-v3p1-405b-instruct": { "accounts/fireworks/models/llama-v3p1-405b-instruct": {
id: "accounts/fireworks/models/llama-v3p1-405b-instruct", id: "accounts/fireworks/models/llama-v3p1-405b-instruct",
organization: "Meta", organization: "Meta",

View File

@ -1,5 +1,7 @@
| Organization | Model Name | Model String for API | Context length | | Organization | Model Name | Model String for API | Context length |
|--------------|------------|----------------------|----------------| |--------------|------------|----------------------|----------------|
| Meta | Llama 3.2 3B Instruct | accounts/fireworks/models/llama-v3p2-3b-instruct | 131072 |
| Meta | Llama 3.2 1B Instruct | accounts/fireworks/models/llama-v3p2-1b-instruct | 131072 |
| Meta | Llama 3.1 405B Instruct | accounts/fireworks/models/llama-v3p1-405b-instruct | 131072 | | Meta | Llama 3.1 405B Instruct | accounts/fireworks/models/llama-v3p1-405b-instruct | 131072 |
| Meta | Llama 3.1 70B Instruct | accounts/fireworks/models/llama-v3p1-70b-instruct | 131072 | | Meta | Llama 3.1 70B Instruct | accounts/fireworks/models/llama-v3p1-70b-instruct | 131072 |
| Meta | Llama 3.1 8B Instruct | accounts/fireworks/models/llama-v3p1-8b-instruct | 131072 | | Meta | Llama 3.1 8B Instruct | accounts/fireworks/models/llama-v3p1-8b-instruct | 131072 |

View File

@ -9,8 +9,8 @@
// Update the date below if you run this again because Fireworks AI added new models. // Update the date below if you run this again because Fireworks AI added new models.
// Last Collected: Sep 15, 2024 // Last Collected: Sep 27, 2024
// NOTE: Only managed to collect 18 out of ~100 models! // NOTE: Only managed to collect 20 out of ~100 models!
// https://fireworks.ai/models lists almost 100 chat language models. // https://fireworks.ai/models lists almost 100 chat language models.
// If you want to add models, please manually add them to chat_models.txt... // If you want to add models, please manually add them to chat_models.txt...
// ... I tried to write a script to grab them all but gave up after a few hours... // ... I tried to write a script to grab them all but gave up after a few hours...