Skip to content

Commit cb9fccc

Browse files
authored
Update README.md
1 parent 74b400c commit cb9fccc

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ Then, you can simply use the address and port as the baseURL as you require (htt
5757

5858
Read [the docker instrunctions here](https://github.com/RayBytes/ChatMock/blob/main/DOCKER.md)
5959

60-
6160
# Examples
6261

6362
### Python
@@ -122,13 +121,14 @@ Models like GPT-5 do not return raw thinking content, but instead return thinkin
122121

123122
### OpenAI Tools
124123

124+
- `--enable-web-search`
125125
You can also access OpenAI tools through this project. Currently, only web search is available.
126-
You can enable it by starting the server with `--enable-web-search`, which will allow OpenAI to determine when a request requires a web search, or you can use the following parameters during a request to enable web search:
126+
You can enable it by starting the server with this parameter, which will allow OpenAI to determine when a request requires a web search, or you can use the following parameters during a request to the API to enable web search:
127127

128128
- `responses_tools`: supports `[{"type":"web_search"}]` / `{ "type": "web_search_preview" }`
129129
- `responses_tool_choice`: `"auto"` or `"none"`
130130

131-
### Example usage
131+
#### Example usage
132132
```json
133133
{
134134
"model": "gpt-5",
@@ -139,6 +139,11 @@ You can enable it by starting the server with `--enable-web-search`, which will
139139
}
140140
```
141141

142+
### Expose reasoning models
143+
144+
- `--expose-reasoning-models`
145+
If your preferred app doesn’t support selecting reasoning effort, or you just want a simpler approach, this parameter exposes each reasoning level as a separate, queryable model. Each reasoning level also appears individually under ⁠/v1/models, so model pickers in your favorite chat apps will list all reasoning options as distinct models you can switch between.
146+
142147
## Notes
143148
If you wish to have the fastest responses, I'd recommend setting `--reasoning-effort` to minimal, and `--reasoning-summary` to none. <br>
144149
All parameters and choices can be seen by sending `python chatmock.py serve --h`<br>

0 commit comments

Comments
 (0)