Skip to content

Commit

Permalink
Add more model
Browse files Browse the repository at this point in the history
  • Loading branch information
AiQL.com authored Jul 19, 2024
1 parent 3501901 commit c9f44f9
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -966,15 +966,20 @@ <h5 class="font-weight-bold">{{ column.key }}</h5>
const useDefaultChoiceStore = defineStore({
id: "defaultChoiceStore",
state: () => ({
url: ["https://api.openai.com",
url: [
"https://api.openai.com",
"http://127.0.0.1",
"https://api.deepinfra.com",
"https://api.deepseek.com",
"https://api.aiql.com"],
path: ["/v1/chat/completions",
path: [
"/v1/chat/completions",
"/v1/openai/chat/completions",
"/openai/v1/chat/completions"],
model: ["gpt-3.5-turbo",
'gpt-4',
model: [
"gpt-4o-mini",
"gpt-4o",
'gpt-4-turbo',
'mistralai/Mistral-7B-Instruct-v0.3',
'meta-llama/Meta-Llama-3-8B-Instruct',
'microsoft/Phi-3-medium-4k-instruct',
Expand Down Expand Up @@ -1005,7 +1010,7 @@ <h5 class="font-weight-bold">{{ column.key }}</h5>
apiKey: "",
url: "https://api.aiql.com",
path: "/v1/chat/completions",
model: "gpt-3.5-turbo",
model: "gpt-4o-mini",
authPrefix: "Bearer",
contentType: "application/json",
max_tokens_type: "max_tokens",
Expand Down Expand Up @@ -1128,7 +1133,7 @@ <h5 class="font-weight-bold">{{ column.key }}</h5>

if (parts.length === 1) {
buffer += parts[0]
return read(reader, target, buffer);
return read(reader, target, buffer, stream);
}

if (buffer.length > 0) {
Expand Down

0 comments on commit c9f44f9

Please sign in to comment.