Add cohere models
This commit is contained in:
@@ -126,6 +126,10 @@
|
||||
<Arcodion name="Cohere">
|
||||
<button class="p-2 hover:text-green-500" on:click={() => {changeModel('cohere-command-r')}}>Command R</button>
|
||||
<button class="p-2 hover:text-green-500" on:click={() => {changeModel('cohere-command-r-plus')}}>Command R Plus</button>
|
||||
<button class="p-2 hover:text-green-500" on:click={() => {changeModel('cohere-command-r-08-2024')}}>Command R 08-2024</button>
|
||||
<button class="p-2 hover:text-green-500" on:click={() => {changeModel('cohere-command-r-03-2024')}}>Command R 03-2024</button>
|
||||
<button class="p-2 hover:text-green-500" on:click={() => {changeModel('cohere-command-r-plus-04-2024')}}>Command R Plus 08-2024</button>
|
||||
<button class="p-2 hover:text-green-500" on:click={() => {changeModel('cohere-command-r-plus-08-2024')}}>Command R Plus 03-2024</button>
|
||||
</Arcodion>
|
||||
<Arcodion name="NovelAI">
|
||||
<button class="hover:bg-selected px-6 py-2 text-lg" on:click={() => {changeModel('novelai')}}>NovelAI Clio</button>
|
||||
|
||||
@@ -1537,7 +1537,11 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
|
||||
}
|
||||
}
|
||||
case 'cohere-command-r':
|
||||
case 'cohere-command-r-plus':{
|
||||
case 'cohere-command-r-plus':
|
||||
case 'cohere-command-r-08-2024':
|
||||
case 'cohere-command-r-03-2024':
|
||||
case 'cohere-command-r-plus-04-2024':
|
||||
case 'cohere-command-r-plus-08-2024':{
|
||||
const modelName = aiModel.replace('cohere-', '')
|
||||
let lastChatPrompt = ''
|
||||
let preamble = ''
|
||||
|
||||
Reference in New Issue
Block a user