ai-ebash 0.1.7__tar.gz → 0.1.9__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.
@@ -0,0 +1 @@
1
+ include src/aiebash/default_config.ini
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ai-ebash
3
- Version: 0.1.7
3
+ Version: 0.1.9
4
4
  Summary: Console utility for integrating artificial intelligence into a Linux terminal.
5
5
  Author: Andrey Bochkarev
6
6
  Author-email: andrey.bch.1976@gmail.com
@@ -1,3 +1,5 @@
1
1
  [build-system]
2
2
  requires = ["setuptools>=61.0"]
3
3
  build-backend = "setuptools.build_meta"
4
+
5
+
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = ai-ebash
3
- version = 0.1.7
3
+ version = 0.1.9
4
4
  author = Andrey Bochkarev
5
5
  author_email = andrey.bch.1976@gmail.com
6
6
  description = Console utility for integrating artificial intelligence into a Linux terminal.
@@ -9,6 +9,7 @@ long_description_content_type = text/markdown
9
9
  license = MIT
10
10
 
11
11
  [options]
12
+ include_package_data = True
12
13
  packages = find:
13
14
  package_dir =
14
15
  =src
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ai-ebash
3
- Version: 0.1.7
3
+ Version: 0.1.9
4
4
  Summary: Console utility for integrating artificial intelligence into a Linux terminal.
5
5
  Author: Andrey Bochkarev
6
6
  Author-email: andrey.bch.1976@gmail.com
@@ -12,6 +12,7 @@ src/aiebash/__init__.py
12
12
  src/aiebash/__main__.py
13
13
  src/aiebash/api_client.py
14
14
  src/aiebash/block_runner.py
15
+ src/aiebash/default_config.ini
15
16
  src/aiebash/formatter_text.py
16
17
  src/aiebash/llm_factory.py
17
18
  src/aiebash/llm_interface.py
@@ -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=
@@ -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