You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Built-in completion (WIP) OpenAI Proxy Server Start the server from poe_api_wrapper import PoeServer tokens = [ {"p-b": "XXXXXXXX", "p-lat": "XXXXXXXX"}, {"p-b": "XXXXXXXX", "p-lat": "XXXXXXXX"}, {"p-b": "XXXXXXXX", "p-lat": "XXXXXXXX"} ] PoeServer(tokens=tokens)
When running the above code, it remains unresponsive for a long time
Also when running api.py return ORJSONResponse(content.model_dump()) AttributeError: 'ChatCompletionResponse' object has no attribute 'model_dump'
Your image shows the api running normally.
And why did you even run the api.py?
The api is up and the base url is 127.0.0.1:7000
After this just use openai library to interact with the proxy server.
Built-in completion (WIP)
OpenAI Proxy Server
Start the server
from poe_api_wrapper import PoeServer
tokens = [
{"p-b": "XXXXXXXX", "p-lat": "XXXXXXXX"},
{"p-b": "XXXXXXXX", "p-lat": "XXXXXXXX"},
{"p-b": "XXXXXXXX", "p-lat": "XXXXXXXX"}
]
PoeServer(tokens=tokens)
When running the above code, it remains unresponsive for a long time
Also when running api.py
return ORJSONResponse(content.model_dump())
AttributeError: 'ChatCompletionResponse' object has no attribute 'model_dump'
The text was updated successfully, but these errors were encountered: