Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .overcommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#
# Uncomment the following lines to make the configuration take effect.

concurrency: 1

PreCommit:
TrailingWhitespace:
enabled: true
Expand Down
14 changes: 14 additions & 0 deletions conf/modules.d/gpt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,20 @@ gpt {
# Be sure to enable module after you specify the API key
enabled = false;

# Optional web search context (disabled by default)
# Extracts domains from email URLs and queries a search API for context
search_context = {
enabled = false; # Enable web search context
#search_url = "https://leta.mullvad.net/search/__data.json"; # Search API endpoint
#search_engine = "brave"; # Search engine (brave, google, etc.)
#max_domains = 3; # Maximum domains to search
#max_results_per_query = 3; # Maximum results per domain
#timeout = 5; # HTTP timeout in seconds
#cache_ttl = 3600; # Cache TTL in seconds (1 hour)
#cache_key_prefix = "gpt_search"; # Redis cache key prefix
#as_system = true; # Inject as system message
};

# Include dynamic conf for the rule
.include(try=true,priority=5) "${DBDIR}/dynamic/gpt.conf"
.include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/gpt.conf"
Expand Down
Loading