Error code: 429 will sleep 60 seconds
shxiq01 opened this issue · comments
Error code: 429 will sleep 60 seconds
'str' object has no attribute 'choices' !!
429是什么错误啊?
能来个截图么
顺便分享下你的命令
能来个截图么 顺便分享下你的命令
![image](https://private-user-images.githubusercontent.com/12861435/294448015-1ce7bdc2-be47-428e-bfb1-8d7f6e3de097.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI2MzY3NDQsIm5iZiI6MTcyMjYzNjQ0NCwicGF0aCI6Ii8xMjg2MTQzNS8yOTQ0NDgwMTUtMWNlN2JkYzItYmU0Ny00MjhlLWJmYjEtOGQ3ZjZlM2RlMDk3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODAyVDIyMDcyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdjM2IzY2UwNThlNGJmNjhkZTg4OTBiZGFlYTg0ZjEzZmMwOTcxMzhiNThmNzc0MjNkYWI2ZGIyYzA1NzM3OGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.JVz6zryzWgEI7iWAlS6DleM-iCkVb7UgJ8lXxE_G7ds)
命令是python make_book.py --book_name D:\novel\translate\tmp\九十九次.txt --language "English" --prompt prompt_template_sample.txt --openai_key xxxxx --api_base 'https://api.xxxx.cn/'
api base 可能不对,后面应该有个 v1?
api base 可能不对,后面应该有个 v1?
对不起老板。。我的错,忘记加了
哈哈哈小事儿