0.1.0
This commit is contained in:
parent
5c27f51941
commit
91ad5afe81
4 changed files with 276 additions and 41 deletions
2
test.py
2
test.py
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue