Fix SendMessageMutation Error#180
Conversation
…hange made by poe.
|
May I know in what files I should change the "SendMessageMutation" to "sendMessageMutation"? Thanks! |
Check commit |
|
@veloper I want to mention that other queries are also changed as well. For example: SubscriptionsMutation -> subscriptionsMutation and ExploreBotsIndexPageQuery -> exploreBotsIndexPageQuery Edit: |
Thanks sooo much! It works now! |
|
@ChisanaKita - alright, ill try and see if i can get a dump of all the protocol response possible but it's going to be a piecemeal operation atm. |
Fixes #179
Tested locally; seems to work now.
My original work and comments:
Seems like they might have actually lower-cased the first
Sin the path:Protocol Inspection:
{ "queryName": "sendMessageMutation", "variables": { "chatId": null, "bot": "claude_3_igloo", "query": "hi again", "source": { "sourceType": "chat_input", "chatInputMetadata": { "useVoiceRecord": false } }, "clientNonce": "<...>", "sdid": "<...>", "attachments": [], "existingMessageAttachmentsIds": [], "shouldFetchChat": true, "messagePointsDisplayPrice": 200 }, "extensions": { "hash": "b5694554bb2d91d0226fed35139f1d038fdd0fa30148be02546d0e2afa3e72a4" } }with the hash differing from:
poe-api-wrapper/poe_api_wrapper/queries.py
Line 123 in 7fef481
Confirmed a change worked, making a PR now.
#180