fix delete chat bug
This commit is contained in:
@@ -209,47 +209,47 @@ async def get_chat_records():
|
||||
|
||||
async def main():
|
||||
"""Run all examples."""
|
||||
# print("=== Simple Chat ===")
|
||||
# try:
|
||||
# await simple_chat()
|
||||
# except Exception as e:
|
||||
# print(f"Error: {e}")
|
||||
print("=== Simple Chat ===")
|
||||
try:
|
||||
await simple_chat()
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
|
||||
# print("\n=== Streaming Chat ===")
|
||||
# try:
|
||||
# await streaming_chat()
|
||||
# except Exception as e:
|
||||
# print(f"Error: {e}")
|
||||
print("\n=== Streaming Chat ===")
|
||||
try:
|
||||
await streaming_chat()
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
|
||||
# print("\n=== Chat with Context ===")
|
||||
# try:
|
||||
# await chat_with_context()
|
||||
# except Exception as e:
|
||||
# print(f"Error: {e}")
|
||||
print("\n=== Chat with Context ===")
|
||||
try:
|
||||
await chat_with_context()
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
|
||||
# print("\n=== Get Histories ===")
|
||||
# try:
|
||||
# await get_histories()
|
||||
# except Exception as e:
|
||||
# print(f"Error: {e}")
|
||||
print("\n=== Get Histories ===")
|
||||
try:
|
||||
await get_histories()
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
|
||||
# print("\n=== Get App Analytics ===")
|
||||
# try:
|
||||
# await get_app_analytics()
|
||||
# except Exception as e:
|
||||
# print(f"Error: {e}")
|
||||
print("\n=== Get App Analytics ===")
|
||||
try:
|
||||
await get_app_analytics()
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
|
||||
# print("\n=== Multiple Requests (Concurrent) ===")
|
||||
# try:
|
||||
# await multiple_requests()
|
||||
# except Exception as e:
|
||||
# print(f"Error: {e}")
|
||||
print("\n=== Multiple Requests (Concurrent) ===")
|
||||
try:
|
||||
await multiple_requests()
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
|
||||
# print("\n=== Chat with Variables ===")
|
||||
# try:
|
||||
# await chat_with_variables()
|
||||
# except Exception as e:
|
||||
# print(f"Error: {e}")
|
||||
print("\n=== Chat with Variables ===")
|
||||
try:
|
||||
await chat_with_variables()
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
|
||||
print("\n=== Get Chat Records ===")
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user