Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
losfair committed Feb 14, 2024
1 parent ee5ce66 commit 1db2567
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
deno-version: v1.39

- name: Build step
run: "OPENAI_API_KEY=dummy deno task build"
run: "deno task build"

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
Expand Down
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
"cli": "echo \"import '\\$fresh/src/dev/cli.ts'\" | deno run --unstable -A -",
"manifest": "deno task cli manifest $(pwd)",
"start": "deno run -A --watch=static/,routes/ --unstable dev.ts",
"build": "deno run -A --unstable dev.ts build",
"start": "deno run -A --watch=static/,routes/ --unstable-kv dev.ts",
"build": "deno run -A --unstable-kv dev.ts build",
"preview": "deno run -A main.ts",
"update": "deno run -A -r https://fresh.deno.dev/update ."
},
Expand Down
6 changes: 3 additions & 3 deletions lib/oai.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import OpenAI from "https://deno.land/x/openai@v4.23.0/mod.ts";
import OpenAI from "https://deno.land/x/openai@v4.28.0/mod.ts";
import { batchLoadMessages, ChatHead } from "./workspace.ts";
import {
ChatCompletionChunk,
ChatCompletionMessageParam,
} from "https://deno.land/x/openai@v4.23.0/resources/mod.ts";
import { Stream } from "https://deno.land/x/openai@v4.23.0/streaming.ts";
} from "https://deno.land/x/openai@v4.28.0/resources/mod.ts";
import { Stream } from "https://deno.land/x/openai@v4.28.0/streaming.ts";

interface Backend {
oai: OpenAI;
Expand Down

0 comments on commit 1db2567

Please sign in to comment.