from http import HTTPStatus
import dashscope
#
# dashscope.api_key='sk-2d6352a4c9b142f58b75cd9c8222bd91'
# messages = [{'role': 'system', 'content': 'You are a helpful assistant.'},
#             {'role': 'user', 'content': '如何做西红柿鸡蛋？'}]
#
# response = dashscope.Generation.call(
#     model='qwen-turbo',
#     messages=messages,
#     result_format='message',  # set the result to be "message" format.
# )
#
# if response.status_code == HTTPStatus.OK:
#     print(response)
# else:
#     print('Request id: %s, Status code: %s, error code: %s, error message: %s' % (
#         response.request_id, response.status_code,
#         response.code, response.message
#     ))

print("sdas00"*2)