Skip to content

Commit 9bd5455

Browse files
committed
docs: Update provider docs
1 parent 2f46bd8 commit 9bd5455

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

docs/providers/Gemini.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const gemini = new GeminiProvider({
4646
| `systemMessage` | `string` || `null` | Prepends a system prompt to every conversation. |
4747
| `responseFormat` | `"stream"` \| `"json"` || `"stream"` | Determines whether to use stream endpoint from the provider or fetch a full JSON output. |
4848
| `messageParser` | `(msgs: Message[]) => CustomMessage[]` || `null` | Custom parser converting React ChatBotify [`Message[]`](https://react-chatbotify.com/docs/concepts/conversations#message) into desired message format for the provider. |
49+
| `debug` | `boolean` || `false` | Enables debug logging for the provider. |
4950

5051
---
5152

docs/providers/OpenAI.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const openai = new OpenaiProvider({
4646
| `systemMessage` | `string` || `null` | Prepends a system prompt to every conversation. |
4747
| `responseFormat` | `"stream"` \| `"json"` || `"stream"` | Determines whether to use stream endpoint from the provider or fetch a full JSON output. |
4848
| `messageParser` | `(msgs: Message[]) => CustomMessage[]` || `null` | Custom parser converting React ChatBotify [`Message[]`](https://react-chatbotify.com/docs/concepts/conversations#message) into desired message format for the provider. |
49+
| `debug` | `boolean` || `false` | Enables debug logging for the provider. |
4950

5051
---
5152

docs/providers/WebLlm.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const webllm = new WebLlmProvider({
4444
| `engineConfig` | `MLCEngineConfig` || `{}` | Custom engine initialization options referenced from [**MLCEngineConfig**](https://webllm.mlc.ai/docs/user/api_reference.html#mlcengineconfig). |
4545
| `chatCompletionOptions` | `GenerationConfig` || `{}` | Custom chat completion options from referenced from [**GenerationConfig**](https://webllm.mlc.ai/docs/user/api_reference.html#generationconfig). |
4646
| `messageParser` | `(msgs: Message[]) => CustomMessage[]` || `null` | Custom parser converting React ChatBotify [`Message[]`](https://react-chatbotify.com/docs/concepts/conversations#message) into desired message format for the provider. |
47+
| `debug` | `boolean` || `false` | Enables debug logging for the provider. |
4748

4849
---
4950

0 commit comments

Comments
 (0)