Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Update package-lock.json and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
MrlolDev committed Dec 7, 2023
1 parent 806bff1 commit b33acbd
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
25 changes: 25 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"rabbitmq-client": "^4.3.0",
"redis": "^4.6.8",
"replicate-api": "^0.4.4",
"turing.sh": "^0.0.9",
"uuid": "^9.0.0",
"wandbox-api-updated": "^1.0.3",
"yt-search": "^2.10.4"
Expand Down
11 changes: 3 additions & 8 deletions src/models/text/anthropic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,8 @@ export default {
model: {
type: "string",
required: false,
options: [
"claude-instant-1",
"claude-instant-1.2",
"claude-1",
"claude-2",
],
default: "claude-instant-1",
options: ["claude-instant-1.2", "claude-2.1"],
default: "claude-instant-1.2",
},
max_tokens: {
type: "number",
Expand Down Expand Up @@ -55,7 +50,7 @@ export default {
},
execute: async (data) => {
let { messages, model, max_tokens, temperature, stream } = data;
if (!model) model = "claude-instant-1";
if (!model) model = "claude-instant-1.2";
if (!max_tokens) max_tokens = 512;
if (!temperature) temperature = 0.9;
let prompt = "";
Expand Down

0 comments on commit b33acbd

Please sign in to comment.