Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to create new bots #164

Closed
Zhao-Mingyang opened this issue Jun 18, 2024 · 1 comment
Closed

Failure to create new bots #164

Zhao-Mingyang opened this issue Jun 18, 2024 · 1 comment

Comments

@Zhao-Mingyang
Copy link

line: client.create_bot("BOT_NAME", "PROMPT_HERE", base_model="a2") raises the error:

Traceback (most recent call last):
File "C:\Users\13862\Anaconda3\lib\site-packages\poe_api_wrapper\api.py", line 136, in send_request
raise RuntimeError(f"Server Error. Raw response data: {json_data}")
RuntimeError: Server Error. Raw response data: {'data': None, 'errors': [{'message': 'Server Error'}], 'extensions': {'is_final': True}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\13862\Desktop\GPT_market_research_replication\main.py", line 17, in
client.create_bot("BOT_NAME", "PROMPT_HERE", base_model="a2")
File "C:\Users\13862\Anaconda3\lib\site-packages\poe_api_wrapper\api.py", line 1217, in create_bot
bot_models = self.get_available_creation_models()
File "C:\Users\13862\Anaconda3\lib\site-packages\poe_api_wrapper\api.py", line 1204, in get_available_creation_models
response = self.send_request('gql_POST', 'CreateBotIndexPageQuery', {'messageId': None})
File "C:\Users\13862\Anaconda3\lib\site-packages\poe_api_wrapper\api.py", line 167, in send_request
f"Sending request {query_name} failed. {error_code} Error log: {repr(e)}"
Exception: Sending request CreateBotIndexPageQuery failed. status_code:200, Error log: RuntimeError("Server Error. Raw response data: {'data': None, 'errors': [{'message': 'Server Error'}], 'extensions': {'is_final': True}}")

Process finished with exit code 1

@snowby666
Copy link
Owner

This is fixed in v1.4.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants