Skip to content

Commit

Permalink
🔖 Release v0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zuisong committed Apr 11, 2024
1 parent 863f140 commit 64ca9a6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
9 changes: 8 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# changelog

## 0.11.0 (Unreleased)
## 0.12.0 (Unreleased)

-

## 0.11.0 (2024-04-11)

- Resolve CORS error: Update server configurations to enable Cross-Origin access.
- Add support for function calls in non-stream mode.
- Migrate to [itty-router](https://github.com/kwhitley/itty-router) to reduce package size.
- Utilize the official Deno Docker image for improved consistency.

## 0.10.0 (2024-02-28)

- gemini-openai-proxy can now act as a reverse proxy for google gemini, which
Expand Down
2 changes: 1 addition & 1 deletion dist/main_bun.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function genModel(req) {
temperature: req.temperature ?? void 0,
topP: req.top_p ?? void 0
},
tools: [
tools: functions.length === 0 ? void 0 : [
{
functionDeclarations: functions
}
Expand Down
2 changes: 1 addition & 1 deletion dist/main_cloudflare-workers.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function genModel(req) {
temperature: req.temperature ?? void 0,
topP: req.top_p ?? void 0
},
tools: [
tools: functions.length === 0 ? void 0 : [
{
functionDeclarations: functions
}
Expand Down
2 changes: 1 addition & 1 deletion dist/main_deno.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function genModel(req) {
temperature: req.temperature ?? void 0,
topP: req.top_p ?? void 0
},
tools: [
tools: functions.length === 0 ? void 0 : [
{
functionDeclarations: functions
}
Expand Down
2 changes: 1 addition & 1 deletion dist/main_node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ function genModel(req) {
temperature: req.temperature ?? void 0,
topP: req.top_p ?? void 0
},
tools: [
tools: functions.length === 0 ? void 0 : [
{
functionDeclarations: functions
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start:deno": "deno run --allow-net --allow-env main_deno.ts",
"start:node": "npm run build:node && node dist/main_node.mjs",
"build:bun": "bun run build.mjs",
"build:deno": "deno run --allow-read --allow-env --allow-run build.mjs",
"build:deno": "deno run --allow-read --allow-env --allow-write=./dist --allow-run build.mjs",
"build:node": "node build.mjs",
"test:deno": "deno test --allow-net --allow-env",
"test-cov": "deno test --coverage -A --env && deno coverage coverage --lcov --output=coverage/lcov.info",
Expand Down

0 comments on commit 64ca9a6

Please sign in to comment.