Skip to content

Commit

Permalink
fix: Open Router not working using OpenAI models
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Aug 10, 2024
1 parent a8c0708 commit a4023a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion app/constants/APIState/OpenRouterAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class OpenRouterAPI extends APIBase {
Math.min(length, openRouterModel.context_length)
),
stop: this.constructStopSequence(),
response_format: { type: 'json_object' },
}
}
inference = async () => {
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"babel-plugin-inline-import": "^3.0.0",
"babel-plugin-react-compiler": "^0.0.0-experimental-696af53-20240625",
"bert-tokenizer": "^1.1.8",
"cui-llama.rn": "^1.0.7",
"cui-llama.rn": "^1.0.9",
"drizzle-orm": "^0.30.10",
"eas-cli": "^9.1.0",
"expo": "^51.0.21",
Expand Down

0 comments on commit a4023a0

Please sign in to comment.