slight formatting changes
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
## What It Does
|
## What It Does
|
||||||
|
|
||||||
ChatMock runs a local server that creates an OpenAI/Ollama compatible API, and requests are then fulfilled using your authenticated ChatGPT login with the oauth client of Codex, OpenAI's coding CLI tool. This allows you to use GPT-5, GPT-5-Codex, and other models right through your OpenAI account, without requiring an api key.
|
ChatMock runs a local server that creates an OpenAI/Ollama compatible API, and requests are then fulfilled using your authenticated ChatGPT login with the oauth client of Codex, OpenAI's coding CLI tool. This allows you to use GPT-5, GPT-5-Codex, and other models right through your OpenAI account, without requiring an api key. You are then able to use it in other chat apps or other coding tools. <br>
|
||||||
This does require a paid ChatGPT account.
|
This does require a paid ChatGPT account.
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
@@ -131,13 +131,13 @@ Models like GPT-5 do not return raw thinking content, but instead return thinkin
|
|||||||
|
|
||||||
### OpenAI Tools
|
### OpenAI Tools
|
||||||
|
|
||||||
- `--enable-web-search`
|
- `--enable-web-search`<br>
|
||||||
You can also access OpenAI tools through this project. Currently, only web search is available.
|
You can also access OpenAI tools through this project. Currently, only web search is available.
|
||||||
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:
|
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:
|
||||||
|
<br><br>
|
||||||
- `responses_tools`: supports `[{"type":"web_search"}]` / `{ "type": "web_search_preview" }`
|
- `responses_tools`: supports `[{"type":"web_search"}]` / `{ "type": "web_search_preview" }`
|
||||||
- `responses_tool_choice`: `"auto"` or `"none"`
|
- `responses_tool_choice`: `"auto"` or `"none"`
|
||||||
|
<br>
|
||||||
#### Example usage
|
#### Example usage
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user