Commit 5b70ef31 authored by Your Name's avatar Your Name

Bump version to 0.99.13

Add explicit headers to Kilo OAuth2 device auth request:
- Added Content-Length: 0 header
- Added User-Agent header
- Attempting to fix 500 error on remote servers
parent adc12b41
......@@ -54,7 +54,7 @@ from .auth.qwen import QwenOAuth2
from .handlers import RequestHandler, RotationHandler, AutoselectHandler
from .utils import count_messages_tokens, split_messages_into_chunks, get_max_request_tokens_for_model
__version__ = "0.99.12"
__version__ = "0.99.13"
__all__ = [
# Config
"config",
......
......@@ -105,7 +105,11 @@ class KiloOAuth2:
response = await client.post(
url,
content=b'',
headers={'Content-Type': 'application/x-www-form-urlencoded'},
headers={
'Content-Type': 'application/x-www-form-urlencoded',
'Content-Length': '0',
'User-Agent': 'AISBF/0.99.12 (httpx)'
},
timeout=30.0
)
......
......@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "aisbf"
version = "0.99.12"
version = "0.99.13"
description = "AISBF - AI Service Broker Framework || AI Should Be Free - A modular proxy server for managing multiple AI provider integrations"
readme = "README.md"
license = "GPL-3.0-or-later"
......
......@@ -49,7 +49,7 @@ class InstallCommand(_install):
setup(
name="aisbf",
version="0.99.12",
version="0.99.13",
author="AISBF Contributors",
author_email="stefy@nexlab.net",
description="AISBF - AI Service Broker Framework || AI Should Be Free - A modular proxy server for managing multiple AI provider integrations",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment