Commit adc12b41 authored by Your Name's avatar Your Name

Bump version to 0.99.12

Fix Kilo OAuth2 device auth for remote servers:
- Changed from data={} to explicit content=b'' with Content-Type header
- This ensures proper form-urlencoded POST request format
- Fixes 500 error when calling from remote servers behind nginx
parent 7c82fca3
...@@ -54,7 +54,7 @@ from .auth.qwen import QwenOAuth2 ...@@ -54,7 +54,7 @@ from .auth.qwen import QwenOAuth2
from .handlers import RequestHandler, RotationHandler, AutoselectHandler from .handlers import RequestHandler, RotationHandler, AutoselectHandler
from .utils import count_messages_tokens, split_messages_into_chunks, get_max_request_tokens_for_model from .utils import count_messages_tokens, split_messages_into_chunks, get_max_request_tokens_for_model
__version__ = "0.99.11" __version__ = "0.99.12"
__all__ = [ __all__ = [
# Config # Config
"config", "config",
......
...@@ -104,7 +104,8 @@ class KiloOAuth2: ...@@ -104,7 +104,8 @@ class KiloOAuth2:
try: try:
response = await client.post( response = await client.post(
url, url,
data={}, content=b'',
headers={'Content-Type': 'application/x-www-form-urlencoded'},
timeout=30.0 timeout=30.0
) )
......
...@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" ...@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "aisbf" name = "aisbf"
version = "0.99.11" version = "0.99.12"
description = "AISBF - AI Service Broker Framework || AI Should Be Free - A modular proxy server for managing multiple AI provider integrations" description = "AISBF - AI Service Broker Framework || AI Should Be Free - A modular proxy server for managing multiple AI provider integrations"
readme = "README.md" readme = "README.md"
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"
......
...@@ -49,7 +49,7 @@ class InstallCommand(_install): ...@@ -49,7 +49,7 @@ class InstallCommand(_install):
setup( setup(
name="aisbf", name="aisbf",
version="0.99.11", version="0.99.12",
author="AISBF Contributors", author="AISBF Contributors",
author_email="stefy@nexlab.net", 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", 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