You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/providers/Gemini.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ const gemini = new GeminiProvider({
46
46
|`systemMessage`|`string`| ❌ |`null`| Prepends a system prompt to every conversation. |
47
47
|`responseFormat`|`"stream"`\|`"json"`| ❌ |`"stream"`| Determines whether to use stream endpoint from the provider or fetch a full JSON output. |
48
48
|`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. |
Copy file name to clipboardExpand all lines: docs/providers/OpenAI.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ const openai = new OpenaiProvider({
46
46
|`systemMessage`|`string`| ❌ |`null`| Prepends a system prompt to every conversation. |
47
47
|`responseFormat`|`"stream"`\|`"json"`| ❌ |`"stream"`| Determines whether to use stream endpoint from the provider or fetch a full JSON output. |
48
48
|`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. |
|`chatCompletionOptions`|`GenerationConfig`| ❌ |`{}`| Custom chat completion options from referenced from [**GenerationConfig**](https://webllm.mlc.ai/docs/user/api_reference.html#generationconfig). |
46
46
|`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. |
0 commit comments