mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-21 23:09:13 +00:00
Config: Add option to disable fetching content from URLs
This commit is contained in:
@@ -78,6 +78,13 @@ class NetworkConfig(BaseConfigModel):
|
||||
"Turn on this option if you are ONLY connecting from localhost."
|
||||
),
|
||||
)
|
||||
disable_fetch_requests: Optional[bool] = Field(
|
||||
False,
|
||||
description=(
|
||||
"Disable fetching external content in response to requests,"
|
||||
"such as images from URLs."
|
||||
),
|
||||
)
|
||||
send_tracebacks: Optional[bool] = Field(
|
||||
False,
|
||||
description=(
|
||||
|
||||
Reference in New Issue
Block a user