mirror of
https://github.com/HugeFrog24/go-telegram-bot.git
synced 2026-10-27 21:35:26 +00:00
Dep upd
This commit is contained in:
@@ -67,6 +67,7 @@ type BotConfig struct {
|
||||
Thinking string `json:"thinking,omitempty"`
|
||||
ThinkingDisplay string `json:"thinking_display,omitempty"`
|
||||
DebounceMs int `json:"debounce_ms,omitempty"`
|
||||
StreamDrafts bool `json:"stream_drafts,omitempty"`
|
||||
CacheHistory *bool `json:"cache_history,omitempty"`
|
||||
SystemPrompts map[string]string `json:"system_prompts"`
|
||||
Active bool `json:"active"`
|
||||
@@ -172,6 +173,11 @@ func logConfigAdvisories(config *BotConfig) {
|
||||
config.ID)
|
||||
}
|
||||
|
||||
if config.StreamDrafts {
|
||||
InfoLogger.Printf("[%s] draft streaming enabled: private chats get one growing draft with a Stop button; business and group chats keep per-block messages",
|
||||
config.ID)
|
||||
}
|
||||
|
||||
if ws := config.WebSearch; ws != nil && len(ws.AllowedDomains) == 0 && len(ws.BlockedDomains) == 0 {
|
||||
InfoLogger.Printf("[%s] web_search enabled with no allowed_domains/blocked_domains: the model may search the open web",
|
||||
config.ID)
|
||||
|
||||
Reference in New Issue
Block a user