Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
aisbf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
aisbf
Commits
b7cd0053
Commit
b7cd0053
authored
Feb 06, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README and DOCUMENTATION with rotations and autoselect API endpoints
parent
e1743674
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
13 deletions
+39
-13
DOCUMENTATION.md
DOCUMENTATION.md
+22
-10
README.md
README.md
+17
-3
No files found.
DOCUMENTATION.md
View file @
b7cd0053
...
...
@@ -88,16 +88,28 @@ Installs to:
## API Endpoints
### Root Endpoint
-
`GET /`
- Returns server status and list of available providers
### Chat Completions
-
`POST /api/{provider_id}/chat/completions`
- Handle chat completion requests
-
Supports both streaming and non-streaming responses
-
Provider ID can be a specific provider or rotation name
### Model List
-
`GET /api/{provider_id}/models`
- List available models for a provider or rotation
### General Endpoints
-
`GET /`
- Returns server status and list of available providers, rotations, and autoselect configurations
### Provider Endpoints
-
`POST /api/{provider_id}/chat/completions`
- Handle chat completion requests for a specific provider
-
Supports both streaming and non-streaming responses
-
`GET /api/{provider_id}/models`
- List available models for a specific provider
### Rotation Endpoints
-
`GET /api/rotations`
- List all available rotation configurations
-
`POST /api/rotations/chat/completions`
- Chat completions using rotation (load balancing across providers)
-
Weighted random selection of models
-
Automatic failover between providers
-
Supports both streaming and non-streaming responses
-
`GET /api/rotations/models`
- List all models across all rotation configurations
### Autoselect Endpoints
-
`GET /api/autoselect`
- List all available autoselect configurations
-
`POST /api/autoselect/chat/completions`
- Chat completions using AI-assisted selection based on content analysis
-
Automatically selects the best provider based on request content
-
Supports both streaming and non-streaming responses
-
`GET /api/autoselect/models`
- List all models across all autoselect configurations
## Provider Support
...
...
README.md
View file @
b7cd0053
...
...
@@ -65,9 +65,23 @@ See [`PYPI.md`](PYPI.md) for detailed instructions on publishing to PyPI.
See
`config/providers.json`
and
`config/rotations.json`
for configuration examples.
## API Endpoints
-
`GET /`
- Server status and provider list
-
`POST /api/{provider_id}/chat/completions`
- Chat completions
-
`GET /api/{provider_id}/models`
- List available models
### General Endpoints
-
`GET /`
- Server status and provider list (includes providers, rotations, and autoselect)
### Provider Endpoints
-
`POST /api/{provider_id}/chat/completions`
- Chat completions for a specific provider
-
`GET /api/{provider_id}/models`
- List available models for a specific provider
### Rotation Endpoints
-
`GET /api/rotations`
- List all available rotation configurations
-
`POST /api/rotations/chat/completions`
- Chat completions using rotation (load balancing across providers)
-
`GET /api/rotations/models`
- List all models across all rotation configurations
### Autoselect Endpoints
-
`GET /api/autoselect`
- List all available autoselect configurations
-
`POST /api/autoselect/chat/completions`
- Chat completions using AI-assisted selection based on content analysis
-
`GET /api/autoselect/models`
- List all models across all autoselect configurations
## Error Handling
-
Rate limiting for failed requests
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment