ai-ebash 0.1.7__py3-none-any.whl → 0.1.9__py3-none-any.whl
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.
- {ai_ebash-0.1.7.dist-info → ai_ebash-0.1.9.dist-info}/METADATA +1 -1
- {ai_ebash-0.1.7.dist-info → ai_ebash-0.1.9.dist-info}/RECORD +7 -6
- aiebash/default_config.ini +12 -0
- aiebash/settings.py +2 -0
- {ai_ebash-0.1.7.dist-info → ai_ebash-0.1.9.dist-info}/WHEEL +0 -0
- {ai_ebash-0.1.7.dist-info → ai_ebash-0.1.9.dist-info}/entry_points.txt +0 -0
- {ai_ebash-0.1.7.dist-info → ai_ebash-0.1.9.dist-info}/top_level.txt +0 -0
@@ -2,13 +2,14 @@ aiebash/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
aiebash/__main__.py,sha256=MNnFYCUxiS-z47d75k7o5c5_rzWuxwCTGeWdksluolc,3802
|
3
3
|
aiebash/api_client.py,sha256=-hcgY3CP0lsV9Jct_-HQ6WpDosDChwalJjy4aFQ4CIM,2004
|
4
4
|
aiebash/block_runner.py,sha256=JNcdBklJmrlO7ZX7xXiO0fUGqrcNJiRqdwM-yr3OP3k,1599
|
5
|
+
aiebash/default_config.ini,sha256=0V33PFWTE27G_4riiTAs5nikqB3-yi0bzUXGkMTW-XU,804
|
5
6
|
aiebash/formatter_text.py,sha256=NRz_pCpakZ9k8477_4Gx1scDXrEbbOaOi-U7WRp6ZWo,847
|
6
7
|
aiebash/llm_factory.py,sha256=SDG4mSStKtairW2FaExbX49vDXITt5LBvHIKJ72nJfk,718
|
7
8
|
aiebash/llm_interface.py,sha256=LufTw-QvXkcQJMRON8RElmalKntk0YRUDHBEcjCDfaM,222
|
8
9
|
aiebash/openai_client.py,sha256=94v86FCrAd1v9SgDRtrCu87iSCnq_o2Zz0iXQdnlWbQ,1264
|
9
|
-
aiebash/settings.py,sha256=
|
10
|
-
ai_ebash-0.1.
|
11
|
-
ai_ebash-0.1.
|
12
|
-
ai_ebash-0.1.
|
13
|
-
ai_ebash-0.1.
|
14
|
-
ai_ebash-0.1.
|
10
|
+
aiebash/settings.py,sha256=n9B-RHWyjEf3WIB-zYibl0RmLPDeON8HV8CIgwb0qxs,1872
|
11
|
+
ai_ebash-0.1.9.dist-info/METADATA,sha256=93pdFiyEvOep5X3ALO4eLUsZZdvrGPYBIGq6MPSuTMg,2384
|
12
|
+
ai_ebash-0.1.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
13
|
+
ai_ebash-0.1.9.dist-info/entry_points.txt,sha256=bstvFHHX76KHqYpjM8FPoRVvNbQprST74CI30Mr5TIM,45
|
14
|
+
ai_ebash-0.1.9.dist-info/top_level.txt,sha256=JJ-bWdhWlFCfCQGLhmqzN4_bNO0pfVPRsdbx8o9A9AA,8
|
15
|
+
ai_ebash-0.1.9.dist-info/RECORD,,
|
@@ -0,0 +1,12 @@
|
|
1
|
+
[global]
|
2
|
+
#api_url = https://openai-proxy.andrey-bch-1976.workers.dev/v1/chat/completions
|
3
|
+
#api_key =
|
4
|
+
#model = gpt-4o-mini
|
5
|
+
context = Ты профессиональный системный администратор, помощник по Linux. Пользователь - новичок в Linux, помоги ему. Система Ubuntu, оболочка $SHELL. При ответе учитывай, что пользователь работает в терминале Bash.Отвечай всегда на русском языке. Ты разговариваешь с пользователем в терминале.
|
6
|
+
debug = False
|
7
|
+
|
8
|
+
[openai_over_proxy]
|
9
|
+
BACKEND=openai_over_proxy
|
10
|
+
MODEL=gpt-4o-mini
|
11
|
+
API_URL=https://openai-proxy.andrey-bch-1976.workers.dev/v1/chat/completions
|
12
|
+
API_KEY=
|
aiebash/settings.py
CHANGED
@@ -11,6 +11,8 @@ USER_CONFIG_PATH = Path(user_config_dir(APP_NAME)) / "config.ini"
|
|
11
11
|
# Путь к дефолтному конфигу, который лежит рядом с этим файлом
|
12
12
|
DEFAULT_CONFIG_PATH = Path(__file__).parent / "default_config.ini"
|
13
13
|
|
14
|
+
|
15
|
+
|
14
16
|
# --- Логика инициализации ---
|
15
17
|
# Если у пользователя нет config.ini, копируем ему дефолтный
|
16
18
|
if not USER_CONFIG_PATH.exists():
|
File without changes
|
File without changes
|
File without changes
|