poe-api-wrapper
poe-api-wrapper copied to clipboard
claude-3.5-sonnet 's Model should be "claude-3.5-sonnet", not "claude_3_igloo"
What I got when don't spec botname with client.get_chat_history(count=5)['data']
{'claude-3.5-sonnet': [{'chatId': xxxxx, 'chatCode': 'xxxx', 'id': 'xxxxxxx=', 'title': '语音处理'}] ... }
When I use bot='claude_3_igloo', I got no data.
But when I try got last msg from chat session client.get_previous_messages(bot='claude-3.5-sonnet', chatId=chatId, count=1) the result msg is {'author': 'claude_3_igloo', 'text': '', 'messageId': xxxxxxx, 'contentType': 'text_markdown'} so the author is still claude_3_igloo