@@ -27,28 +27,33 @@ bun install
2727The project can be run in several ways:
2828
2929### Development Mode
30+
3031``` sh
3132bun run dev
3233```
34+
3335Starts the server with hot reloading enabled, which automatically restarts the server when code changes are detected. This is ideal for development.
3436
3537### Production Mode
38+
3639``` sh
3740bun run start
3841```
42+
3943Runs the server in production mode with optimizations enabled and hot reloading disabled. Use this for deployment or production environments.
4044
4145### Command Line Options
4246
4347The server accepts several command line options:
4448
45- | Option | Description | Default |
46- | -------------------- | ------------------------------------------------- | --------- |
47- | --help, -h | Show help message | false |
48- | --emulate-streaming| Enable streaming response emulation | false |
49- | --port, -p | Port to listen on | 4141 |
49+ | Option | Description | Default |
50+ | ------------------- | ----------------------------------- | ------- |
51+ | --help, -h | Show help message | false |
52+ | --emulate-streaming | Enable streaming response emulation | false |
53+ | --port, -p | Port to listen on | 4141 |
5054
5155Example with options:
56+
5257``` sh
5358bun run start --port 8080 --emulate-streaming
5459```
@@ -60,16 +65,17 @@ In all cases, the server will start and listen for API requests on the specified
6065The following AI tools have been tested with this API:
6166
6267### [ Cline] ( https://github.com/cline/cline )
68+
6369- Works with GPT-4o
64- - Not compatible with Claude 3.5 Sonnet (prompts too long)
70+ - Not compatible with Claude 3.5 Sonnet (Cline prompts are too long)
6571
6672### [ Aider] ( https://github.com/Aider-AI/aider )
73+
6774- Fully compatible
6875
6976### [ bolt.diy] ( https://github.com/stackblitz-labs/bolt.diy )
70- - Works with some caveats:
71- - Sometimes models fail to load - you can set any random API key in the UI to refresh the models list
72- - May encounter "The operation is insecure." issue [ #362 ] ( https://github.com/stackblitz-labs/bolt.diy/issues/362 )
77+
78+ - Sometimes models fail to load - you can set any random API key in the UI to refresh the models list
7379
7480## Contributing
7581
0 commit comments