aisbf 0.2.5__py3-none-any.whl → 0.2.6__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.
aisbf/__init__.py CHANGED
@@ -43,7 +43,7 @@ from .providers import (
43
43
  )
44
44
  from .handlers import RequestHandler, RotationHandler, AutoselectHandler
45
45
 
46
- __version__ = "0.2.5"
46
+ __version__ = "0.2.6"
47
47
  __all__ = [
48
48
  # Config
49
49
  "config",
@@ -43,7 +43,7 @@ from .providers import (
43
43
  )
44
44
  from .handlers import RequestHandler, RotationHandler, AutoselectHandler
45
45
 
46
- __version__ = "0.2.5"
46
+ __version__ = "0.2.6"
47
47
  __all__ = [
48
48
  # Config
49
49
  "config",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aisbf
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Summary: AISBF - AI Service Broker Framework || AI Should Be Free - A modular proxy server for managing multiple AI provider integrations
5
5
  Home-page: https://git.nexlab.net/nexlab/aisbf.git
6
6
  Author: AISBF Contributors
@@ -109,9 +109,23 @@ See [`PYPI.md`](PYPI.md) for detailed instructions on publishing to PyPI.
109
109
  See `config/providers.json` and `config/rotations.json` for configuration examples.
110
110
 
111
111
  ## API Endpoints
112
- - `GET /` - Server status and provider list
113
- - `POST /api/{provider_id}/chat/completions` - Chat completions
114
- - `GET /api/{provider_id}/models` - List available models
112
+
113
+ ### General Endpoints
114
+ - `GET /` - Server status and provider list (includes providers, rotations, and autoselect)
115
+
116
+ ### Provider Endpoints
117
+ - `POST /api/{provider_id}/chat/completions` - Chat completions for a specific provider
118
+ - `GET /api/{provider_id}/models` - List available models for a specific provider
119
+
120
+ ### Rotation Endpoints
121
+ - `GET /api/rotations` - List all available rotation configurations
122
+ - `POST /api/rotations/chat/completions` - Chat completions using rotation (load balancing across providers)
123
+ - `GET /api/rotations/models` - List all models across all rotation configurations
124
+
125
+ ### Autoselect Endpoints
126
+ - `GET /api/autoselect` - List all available autoselect configurations
127
+ - `POST /api/autoselect/chat/completions` - Chat completions using AI-assisted selection based on content analysis
128
+ - `GET /api/autoselect/models` - List all models across all autoselect configurations
115
129
 
116
130
  ## Error Handling
117
131
  - Rate limiting for failed requests
@@ -0,0 +1,24 @@
1
+ cli.py,sha256=SpjVC1iBdDhQXuhJcjVFkODu4BH-nj_1hNFD_d8wPbw,2503
2
+ aisbf/__init__.py,sha256=aZQTT9EZ25hSzSp4DOUXD7PmvhSfuoOY0zrEv9QD18k,2156
3
+ aisbf/config.py,sha256=xXcUQG3OcteCi8__qm6-yEnwjwFVpLBYLrs-zMnDfl0,9643
4
+ aisbf/handlers.py,sha256=SEuOP9IxxcHIXQyWcTcEZcQNujnq64jWqAvUTUvQ3lY,31867
5
+ aisbf/models.py,sha256=LT1NaQVAw0VWXL-j3hdfNlXCA9HeiET_O3GDj3t9XC4,1883
6
+ aisbf/providers.py,sha256=gh3qe-bthAxb-hRPPpp_YLgGzbdTKRN5HKVjf-Yvnp0,19920
7
+ aisbf-0.2.6.data/data/share/aisbf/aisbf.sh,sha256=ntI4UPefBtU2jrTwMR3hddHEPG_pDyJyO0J3SD7e5PA,4574
8
+ aisbf-0.2.6.data/data/share/aisbf/autoselect.json,sha256=Anud0hTE1mehonmMmhOTPK2ANUxfruE2yMdLqiEkEUA,659
9
+ aisbf-0.2.6.data/data/share/aisbf/autoselect.md,sha256=F8PilhaYBs0qdpIxIkokrjtIOdhAx5Bi1tA0hyfnqps,4301
10
+ aisbf-0.2.6.data/data/share/aisbf/main.py,sha256=hCTxLA-txJpSpMTE5mV1XG_j8Kn17ZTHJsnx59nKscg,17241
11
+ aisbf-0.2.6.data/data/share/aisbf/providers.json,sha256=9L5GO6sQ2Z6zndGed0AckvYNV1DMr9r7tSdZ9fJxYlA,3934
12
+ aisbf-0.2.6.data/data/share/aisbf/requirements.txt,sha256=lp6cPakAO3lpTCwQ27THf-PNz_HIpzCELrtpdgo6-2o,133
13
+ aisbf-0.2.6.data/data/share/aisbf/rotations.json,sha256=SzbmMeTRR0vVTrYTMwxSPxjXLVr8zxjaI4HYRxjyExQ,2123
14
+ aisbf-0.2.6.data/data/share/aisbf/aisbf/__init__.py,sha256=aZQTT9EZ25hSzSp4DOUXD7PmvhSfuoOY0zrEv9QD18k,2156
15
+ aisbf-0.2.6.data/data/share/aisbf/aisbf/config.py,sha256=xXcUQG3OcteCi8__qm6-yEnwjwFVpLBYLrs-zMnDfl0,9643
16
+ aisbf-0.2.6.data/data/share/aisbf/aisbf/handlers.py,sha256=SEuOP9IxxcHIXQyWcTcEZcQNujnq64jWqAvUTUvQ3lY,31867
17
+ aisbf-0.2.6.data/data/share/aisbf/aisbf/models.py,sha256=LT1NaQVAw0VWXL-j3hdfNlXCA9HeiET_O3GDj3t9XC4,1883
18
+ aisbf-0.2.6.data/data/share/aisbf/aisbf/providers.py,sha256=gh3qe-bthAxb-hRPPpp_YLgGzbdTKRN5HKVjf-Yvnp0,19920
19
+ aisbf-0.2.6.dist-info/licenses/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
20
+ aisbf-0.2.6.dist-info/METADATA,sha256=34e3r8jaGys19EVKYHH4sZknDompzYP0KWJDC_ynbyw,4915
21
+ aisbf-0.2.6.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
22
+ aisbf-0.2.6.dist-info/entry_points.txt,sha256=dV_E5f6UvgSe9AoyPTzGxBK8IYaIeLR8yTe7EwBZ3F8,35
23
+ aisbf-0.2.6.dist-info/top_level.txt,sha256=odXp1LYymu31EdVSmMGCg3ZYAI5HeB8tZkaXh9Pw3kE,10
24
+ aisbf-0.2.6.dist-info/RECORD,,
@@ -1,24 +0,0 @@
1
- cli.py,sha256=SpjVC1iBdDhQXuhJcjVFkODu4BH-nj_1hNFD_d8wPbw,2503
2
- aisbf/__init__.py,sha256=xc9gTbqBMPMFPCCkmHoPyE6nNMsw-M8VSgeXt5tufa4,2156
3
- aisbf/config.py,sha256=xXcUQG3OcteCi8__qm6-yEnwjwFVpLBYLrs-zMnDfl0,9643
4
- aisbf/handlers.py,sha256=SEuOP9IxxcHIXQyWcTcEZcQNujnq64jWqAvUTUvQ3lY,31867
5
- aisbf/models.py,sha256=LT1NaQVAw0VWXL-j3hdfNlXCA9HeiET_O3GDj3t9XC4,1883
6
- aisbf/providers.py,sha256=gh3qe-bthAxb-hRPPpp_YLgGzbdTKRN5HKVjf-Yvnp0,19920
7
- aisbf-0.2.5.data/data/share/aisbf/aisbf.sh,sha256=ntI4UPefBtU2jrTwMR3hddHEPG_pDyJyO0J3SD7e5PA,4574
8
- aisbf-0.2.5.data/data/share/aisbf/autoselect.json,sha256=Anud0hTE1mehonmMmhOTPK2ANUxfruE2yMdLqiEkEUA,659
9
- aisbf-0.2.5.data/data/share/aisbf/autoselect.md,sha256=F8PilhaYBs0qdpIxIkokrjtIOdhAx5Bi1tA0hyfnqps,4301
10
- aisbf-0.2.5.data/data/share/aisbf/main.py,sha256=hCTxLA-txJpSpMTE5mV1XG_j8Kn17ZTHJsnx59nKscg,17241
11
- aisbf-0.2.5.data/data/share/aisbf/providers.json,sha256=9L5GO6sQ2Z6zndGed0AckvYNV1DMr9r7tSdZ9fJxYlA,3934
12
- aisbf-0.2.5.data/data/share/aisbf/requirements.txt,sha256=lp6cPakAO3lpTCwQ27THf-PNz_HIpzCELrtpdgo6-2o,133
13
- aisbf-0.2.5.data/data/share/aisbf/rotations.json,sha256=SzbmMeTRR0vVTrYTMwxSPxjXLVr8zxjaI4HYRxjyExQ,2123
14
- aisbf-0.2.5.data/data/share/aisbf/aisbf/__init__.py,sha256=xc9gTbqBMPMFPCCkmHoPyE6nNMsw-M8VSgeXt5tufa4,2156
15
- aisbf-0.2.5.data/data/share/aisbf/aisbf/config.py,sha256=xXcUQG3OcteCi8__qm6-yEnwjwFVpLBYLrs-zMnDfl0,9643
16
- aisbf-0.2.5.data/data/share/aisbf/aisbf/handlers.py,sha256=SEuOP9IxxcHIXQyWcTcEZcQNujnq64jWqAvUTUvQ3lY,31867
17
- aisbf-0.2.5.data/data/share/aisbf/aisbf/models.py,sha256=LT1NaQVAw0VWXL-j3hdfNlXCA9HeiET_O3GDj3t9XC4,1883
18
- aisbf-0.2.5.data/data/share/aisbf/aisbf/providers.py,sha256=gh3qe-bthAxb-hRPPpp_YLgGzbdTKRN5HKVjf-Yvnp0,19920
19
- aisbf-0.2.5.dist-info/licenses/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
20
- aisbf-0.2.5.dist-info/METADATA,sha256=YTyvB59uQOTQVkYUNZKrru_L7cAPNo61uB_TBHLuAsM,4190
21
- aisbf-0.2.5.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
22
- aisbf-0.2.5.dist-info/entry_points.txt,sha256=dV_E5f6UvgSe9AoyPTzGxBK8IYaIeLR8yTe7EwBZ3F8,35
23
- aisbf-0.2.5.dist-info/top_level.txt,sha256=odXp1LYymu31EdVSmMGCg3ZYAI5HeB8tZkaXh9Pw3kE,10
24
- aisbf-0.2.5.dist-info/RECORD,,
File without changes