Skip to content

Commit

Permalink
Merge main into sweep/fix-lockfile-compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Nov 6, 2023
2 parents 40949f8 + 9806b5a commit 1bdb935
Show file tree
Hide file tree
Showing 7 changed files with 601 additions and 226 deletions.
5 changes: 0 additions & 5 deletions .changeset/heavy-beans-cry.md

This file was deleted.

7 changes: 7 additions & 0 deletions apps/simple/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# simple

## 0.0.31

### Patch Changes

- Updated dependencies [5e2e92c]
- [email protected]

## 0.0.30

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/simple/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.30",
"version": "0.0.31",
"private": true,
"name": "simple",
"dependencies": {
Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# llamaindex

## 0.0.33

### Patch Changes

- 5e2e92c: gpt-4-1106-preview and gpt-4-vision-preview from OpenAI dev day

## 0.0.32

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "llamaindex",
"version": "0.0.32",
"version": "0.0.33",
"license": "MIT",
"dependencies": {
"@anthropic-ai/sdk": "^0.8.1",
"@anthropic-ai/sdk": "^0.9.0",
"@notionhq/client": "^2.2.13",
"js-tiktoken": "^1.0.7",
"lodash": "^4.17.21",
"mammoth": "^1.6.0",
"md-utils-ts": "^2.0.0",
"mongodb": "^6.2.0",
"notion-md-crawler": "^0.0.2",
"openai": "^4.14.0",
"openai": "^4.15.4",
"papaparse": "^5.4.1",
"pdf-parse": "^1.1.1",
"portkey-ai": "^0.1.13",
"portkey-ai": "^0.1.16",
"rake-modified": "^1.0.8",
"replicate": "^0.20.1",
"string-strip-html": "^13.4.3",
Expand All @@ -23,7 +23,7 @@
},
"devDependencies": {
"@types/lodash": "^4.14.200",
"@types/node": "^18.18.7",
"@types/node": "^18.18.8",
"@types/papaparse": "^5.3.10",
"@types/pdf-parse": "^1.1.3",
"@types/uuid": "^9.0.6",
Expand Down
5 changes: 4 additions & 1 deletion packages/core/src/llm/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ export class OpenAISession {
if (options.azure) {
this.openai = new AzureOpenAI(options);
} else {
this.openai = new OpenAI(options);
this.openai = new OpenAI({
...options,
// defaultHeaders: { "OpenAI-Beta": "assistants=v1" },
});
}
}
}
Expand Down
Loading

0 comments on commit 1bdb935

Please sign in to comment.