Skip to content

Commit 38ef3b3

Browse files
committed
docs: Note about how/when AI requests execute
1 parent 64edf9f commit 38ef3b3

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Writerside/topics/Configuration_Overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ Each field that you attach modAI to can have settings overrides. This means that
5353
<category ref="related">
5454
<a href="Supported-Providers.md" />
5555
</category>
56-
</seealso>
56+
</seealso>

Writerside/topics/Supported-Providers.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
# Supported Providers
22

3+
### Executing AI requests
34
<warning id="key-warning">
4-
Your keys will be exposed to manager users over network requests, so it is recommended to use a site-specific key
5+
By default your keys will be exposed to manager users over network requests, so it is recommended to use a site-specific key
56
that can be easily revoked.
67
</warning>
78

9+
Enabling system setting `modai.api.execute_on_server` will move the execution to the server side, hiding the network traffic.
10+
11+
It can be enabled per service using `modai.api.{service}.execute_on_server}` format, for example, to enable this only for chatgpt, the setting would be: `modai.api.chatgpt.execute_on_server`.
12+
813
## ChatGPT (OpenAI)
914

1015
ChatGPT is the default model assumed. Fill out the `modai.api.chatgpt.key` and adjust any models as desired.
@@ -58,4 +63,4 @@ Then, you for each model you want to use, set the corresponding "model" field wi
5863
<a href="https://docs.anthropic.com/en/docs/">Anthropic Docs</a>
5964
<a href="https://docs.openwebui.com">Open WebUI Docs</a>
6065
</category>
61-
</seealso>
66+
</seealso>

0 commit comments

Comments
 (0)