Skip to content

Commit

Permalink
chore: remove .turbo files and tsbuildinfo
Browse files Browse the repository at this point in the history
Co-Authored-By: ben <ben@prologe.io>
  • Loading branch information
devin-ai-integration[bot] and benjaminshafii committed Dec 24, 2024
1 parent 40c791e commit 548b9d6
Show file tree
Hide file tree
Showing 12 changed files with 1,080 additions and 152 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Choose between the setups below:
cd packages/web && pnpm build:self-host && pnpm start
```

And make sure you have your `OPENAI_API_KEY` variable set up in your `.env.local` file inside the `packages/web` directory.
And make sure you have your `OPENAI_API_KEY` variable set up in your `.env.local` file inside the `packages/web` directory. If you want to use Amazon Bedrock models, you'll also need to configure AWS credentials (`AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_REGION`).

For Windows (PowerShell):

Expand Down
4 changes: 4 additions & 0 deletions packages/audio-server/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
uploads/

# Build artifacts
.turbo
*.tsbuildinfo
5 changes: 0 additions & 5 deletions packages/audio-server/.turbo/turbo-build.log

This file was deleted.

1 change: 0 additions & 1 deletion packages/audio-server/tsconfig.tsbuildinfo

This file was deleted.

6 changes: 5 additions & 1 deletion packages/plugin/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ dist/
# Development output
main.js
styles.css
data.json
data.json

# Build artifacts
.turbo
*.tsbuildinfo
5 changes: 0 additions & 5 deletions packages/plugin/.turbo/turbo-build.log

This file was deleted.

30 changes: 0 additions & 30 deletions packages/plugin/.turbo/turbo-test.log

This file was deleted.

108 changes: 0 additions & 108 deletions packages/web/.turbo/turbo-build.log

This file was deleted.

6 changes: 6 additions & 0 deletions packages/web/lib/models.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { createAnthropic } from "@ai-sdk/anthropic";
import { createOpenAI } from "@ai-sdk/openai";
import { createGoogleGenerativeAI } from "@ai-sdk/google";
import { createAmazonBedrock } from "@ai-sdk/amazon-bedrock";

const DEFAULT_MODEL = "gpt-4o";

Expand All @@ -26,6 +27,11 @@ const models = {
"gemini-2.0-flash-exp": createGoogleGenerativeAI({
apiKey: process.env.GOOGLE_API_KEY
})("gemini-2.0-flash-exp"),
"claude-3-sonnet": createAmazonBedrock({
region: process.env.AWS_REGION,
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY
})("anthropic.claude-3-sonnet-20240229-v1:0"),
};

export const getModel = (name: string) => {
Expand Down
1 change: 1 addition & 0 deletions packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"db:studio:prod": "pnpm dotenv -e .env.production.local -- drizzle-kit studio"
},
"dependencies": {
"@ai-sdk/amazon-bedrock": "^1.0.6",
"@ai-sdk/anthropic": "^1.0.6",
"@ai-sdk/openai": "^1.0.6",
"@browserbasehq/stagehand": "^1.5.0",
Expand Down
Loading

0 comments on commit 548b9d6

Please sign in to comment.