Skip to content

Commit 6c4df26

Browse files
committed
docker and readme tweaks
1 parent 0ae4bf0 commit 6c4df26

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,17 @@ To use local LLM, comment out `OPENAI_KEY` and instead uncomment `OPENAI_ENDPOIN
111111
1. Clone the repository
112112
2. Rename `.env.example` to `.env.local` and set your API keys
113113

114-
3. Run the Docker image:
114+
3. Run `npm install`
115115

116+
4. Run the Docker image:
117+
118+
```bash
119+
docker compose up -d
120+
```
121+
122+
5. Execute `npm run docker` in the docker service:
116123
```bash
117-
docker compose run --rm deep-research
124+
docker exec -it deep-research npm run docker
118125
```
119126

120127
## Usage

docker-compose.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
services:
22
deep-research:
3+
container_name: deep-research
34
build: .
45
env_file:
56
- .env.local
7+
volumes:
8+
- ./:/app/
69
tty: true
710
stdin_open: true

src/ai/providers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const openai = createOpenAI({
1313
baseURL: process.env.OPENAI_ENDPOINT || 'https://api.openai.com/v1',
1414
} as CustomOpenAIProviderSettings);
1515

16-
const customModel = process.env.OPENAI_MODEL || 'o3-mini';
16+
const customModel = process.env.OPENAI_MODEL || 'gpt-4o-mini';
1717

1818
// Models
1919

0 commit comments

Comments
 (0)