This commit is contained in:
Alpha Nerd 2025-12-17 16:24:28 +01:00 committed by GitHub
parent 5c27f51941
commit 91ad5afe81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 276 additions and 41 deletions

View file

@ -9,7 +9,7 @@ the same interface as OpenAI's ChatCompletion.create() method.
import asyncio
from nomyo import SecureChatCompletion
client = SecureChatCompletion(base_url="http://localhost:12434")
client = SecureChatCompletion(base_url="http://localhost:12434", allow_http=True)
async def test_basic_chat():
"""Test basic chat completion with OpenAI-style API."""