chibi-bot 1.6.0b5__tar.gz → 1.6.0b6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/PKG-INFO +1 -1
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/config_generator.py +31 -36
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/pyproject.toml +1 -1
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/LICENSE +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/README.md +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/__init__.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/__main__.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/cli.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/config/__init__.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/config/app.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/config/gpt.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/config/logging.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/config/telegram.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/constants.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/exceptions.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/models.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/schemas/__init__.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/schemas/anthropic.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/schemas/app.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/schemas/cloudflare.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/schemas/mistralai.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/schemas/suno.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/service.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/bot.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/lock_manager.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/mcp/manager.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/metrics.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/__init__.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/alibaba.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/anthropic.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/cloudflare.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/constants/suno.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/customopenai.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/deepseek.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/eleven_labs.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/gemini_native.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/grok.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/minimax.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/mistralai_native.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/moonshotai.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/openai.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/provider.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/suno.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/__init__.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/cmd.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/common.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/constants.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/exceptions.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/file_editor.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/mcp_management.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/mcp_simple.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/media.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/memory.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/schemas.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/send.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/tool.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/utils.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/tools/web.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/providers/utils.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/task_manager.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/services/user.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/storage/abstract.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/storage/database.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/storage/dynamodb.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/storage/local.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/storage/redis.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/utils/__init__.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/utils/app.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/chibi/utils/telegram.py +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/data/.keep +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/skills/imagen_prompting_skill.md +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/skills/jina_reader_skill.md +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/skills/nano_banana_prompting_skill.md +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/skills/suno_skill.md +0 -0
- {chibi_bot-1.6.0b5 → chibi_bot-1.6.0b6}/skills/wan_prompting_skill.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: chibi-bot
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.0b6
|
|
4
4
|
Summary: An asynchronous Telegram bot providing access to various LLMs (OpenAI, Gemini, Anthropic, etc.) and image generation models, featuring context management and built-in tools for web search, news retrieval, and reading web pages.
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Sergei Nagaev
|
|
@@ -6,69 +6,73 @@ CHIBI_BOT_DIR = Path.home() / "chibi-bot"
|
|
|
6
6
|
DATA_DIR = CHIBI_BOT_DIR / "data"
|
|
7
7
|
SKILLS_DIR = CHIBI_BOT_DIR / "skills"
|
|
8
8
|
HOME_DIR = CHIBI_BOT_DIR / "home"
|
|
9
|
+
CONFIG_PATH = CHIBI_BOT_DIR / "settings"
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
DEFAULT_CONFIG = """# Chibi Configuration File
|
|
11
|
+
DEFAULT_CONFIG = f"""# Chibi Configuration File
|
|
13
12
|
# This file contains all environment variables supported by Chibi.
|
|
14
13
|
# Uncomment and set values as needed.
|
|
15
14
|
|
|
16
15
|
# ============================================================================
|
|
17
|
-
# CRITICAL
|
|
16
|
+
# CRITICAL
|
|
18
17
|
# ============================================================================
|
|
19
18
|
|
|
20
|
-
# Telegram bot token (REQUIRED)
|
|
21
|
-
# Get one from @BotFather on Telegram
|
|
19
|
+
# Telegram bot token (REQUIRED) Get one from @BotFather on Telegram
|
|
22
20
|
TELEGRAM_BOT_TOKEN=
|
|
23
21
|
|
|
22
|
+
# Comma-separated group IDs whitelist (optional)
|
|
23
|
+
# GROUPS_WHITELIST=
|
|
24
|
+
|
|
25
|
+
# Comma-separated user IDs whitelist (optional)
|
|
26
|
+
# USERS_WHITELIST=
|
|
27
|
+
|
|
24
28
|
# ============================================================================
|
|
25
29
|
# IMPORTANT - At least one LLM API key is required
|
|
26
30
|
# ============================================================================
|
|
27
31
|
|
|
28
|
-
# OpenAI API key (for GPT-
|
|
29
|
-
|
|
32
|
+
# OpenAI API key (for GPT-5.2, GPT-4o, etc.)
|
|
33
|
+
OPENAI_API_KEY=
|
|
30
34
|
|
|
31
35
|
# Anthropic API key (for Claude models)
|
|
32
|
-
|
|
36
|
+
ANTHROPIC_API_KEY=
|
|
33
37
|
|
|
34
38
|
# Google Gemini API key
|
|
35
|
-
|
|
39
|
+
GEMINI_API_KEY=
|
|
36
40
|
|
|
37
41
|
# DeepSeek API key
|
|
38
|
-
|
|
42
|
+
DEEPSEEK_API_KEY=
|
|
39
43
|
|
|
40
44
|
# Alibaba API key
|
|
41
|
-
|
|
45
|
+
ALIBABA_API_KEY=
|
|
42
46
|
|
|
43
47
|
# Cloudflare API key
|
|
44
|
-
|
|
48
|
+
CLOUDFLARE_API_KEY=
|
|
45
49
|
|
|
46
50
|
# Cloudflare account ID
|
|
47
|
-
|
|
51
|
+
CLOUDFLARE_ACCOUNT_ID=
|
|
48
52
|
|
|
49
53
|
# Custom OpenAI API key
|
|
50
|
-
|
|
54
|
+
CUSTOMOPENAI_API_KEY=
|
|
51
55
|
|
|
52
56
|
# Custom OpenAI URL (default: http://localhost:1234/v1)
|
|
53
57
|
CUSTOMOPENAI_URL=http://localhost:1234/v1
|
|
54
58
|
|
|
55
59
|
# Grok API key
|
|
56
|
-
|
|
60
|
+
GROK_API_KEY=
|
|
57
61
|
|
|
58
62
|
# Mistral AI API key
|
|
59
|
-
|
|
63
|
+
MISTRALAI_API_KEY=
|
|
60
64
|
|
|
61
65
|
# Moonshot AI API key
|
|
62
|
-
|
|
66
|
+
MOONSHOTAI_API_KEY=
|
|
63
67
|
|
|
64
68
|
# MiniMax API key
|
|
65
|
-
|
|
69
|
+
MINIMAX_API_KEY=
|
|
66
70
|
|
|
67
71
|
# Suno API key (for music generation)
|
|
68
|
-
|
|
72
|
+
SUNO_API_ORG_API_KEY=
|
|
69
73
|
|
|
70
74
|
# ElevenLabs API key (for text-to-speech)
|
|
71
|
-
|
|
75
|
+
ELEVEN_LABS_API_KEY=
|
|
72
76
|
|
|
73
77
|
# ============================================================================
|
|
74
78
|
# IMPORTANT - Storage configuration
|
|
@@ -96,17 +100,17 @@ CUSTOMOPENAI_URL=http://localhost:1234/v1
|
|
|
96
100
|
# ddb_messages_table=
|
|
97
101
|
|
|
98
102
|
# Local storage path (default: ~/chibi-bot/data)
|
|
99
|
-
|
|
103
|
+
LOCAL_DATA_PATH={DATA_DIR.absolute()}
|
|
100
104
|
|
|
101
105
|
# ============================================================================
|
|
102
106
|
# IMPORTANT - Model and feature settings
|
|
103
107
|
# ============================================================================
|
|
104
108
|
|
|
105
109
|
# Hide model options in UI (default: false)
|
|
106
|
-
|
|
110
|
+
HIDE_MODELS=false
|
|
107
111
|
|
|
108
112
|
# Hide imagine commands (default: false)
|
|
109
|
-
|
|
113
|
+
HIDE_IMAGINE=false
|
|
110
114
|
|
|
111
115
|
# Monthly image generation limit (default: 0, unlimited)
|
|
112
116
|
IMAGE_GENERATIONS_LIMIT=0
|
|
@@ -125,13 +129,13 @@ IMAGE_GENERATIONS_LIMIT=0
|
|
|
125
129
|
# ============================================================================
|
|
126
130
|
|
|
127
131
|
# AI agent home directory (default: ~/chibi-bot/home)
|
|
128
|
-
home_dir
|
|
132
|
+
home_dir={HOME_DIR.absolute()}
|
|
129
133
|
|
|
130
134
|
# AI agent working directory (default: ~/chibi-bot/home)
|
|
131
|
-
working_dir
|
|
135
|
+
working_dir={HOME_DIR.absolute()}
|
|
132
136
|
|
|
133
137
|
# Absolute path to directory with skills
|
|
134
|
-
skills_dir
|
|
138
|
+
skills_dir={SKILLS_DIR.absolute()}
|
|
135
139
|
|
|
136
140
|
# ============================================================================
|
|
137
141
|
# OPTIONAL - MCP configuration
|
|
@@ -182,15 +186,6 @@ heartbeat_retry_calls=3
|
|
|
182
186
|
# Log prompt data (default: false)
|
|
183
187
|
log_prompt_data=false
|
|
184
188
|
|
|
185
|
-
# ============================================================================
|
|
186
|
-
# OPTIONAL - Telegram settings
|
|
187
|
-
# ============================================================================
|
|
188
|
-
|
|
189
|
-
# Comma-separated group IDs whitelist (optional)
|
|
190
|
-
# GROUPS_WHITELIST=
|
|
191
|
-
|
|
192
|
-
# Comma-separated user IDs whitelist (optional)
|
|
193
|
-
# USERS_WHITELIST=
|
|
194
189
|
"""
|
|
195
190
|
|
|
196
191
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "chibi-bot"
|
|
3
|
-
version = "1.6.
|
|
3
|
+
version = "1.6.0b6"
|
|
4
4
|
description = "An asynchronous Telegram bot providing access to various LLMs (OpenAI, Gemini, Anthropic, etc.) and image generation models, featuring context management and built-in tools for web search, news retrieval, and reading web pages."
|
|
5
5
|
authors = ["Sergei Nagaev <nagaev.sv@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|