OpenBMB / ToolBench

[ICLR'24 spotlight] An open platform for training, serving, and evaluating large language model for tool learning.
https://openbmb.github.io/ToolBench/
Apache License 2.0
4.76k stars 402 forks source link

ToolBench server returns 500 for all requests #256

Open quocthai9120 opened 6 months ago

quocthai9120 commented 6 months ago

Hi, I'm trying to call requests to server, and seems like all requests are returning 500. Is this because the server is down?

Here is a quick code for reproducibility

service_url = "http://8.218.239.54:8080/rapidapi"            
# 1st payload to try                                                                                                           
payload = {'category': 'Finance', 'tool_name': 'spachero_spac_database', 'api_name': 'spac_sec_filings', 'tool_input': '{}', 'strip': 'truncate', 'toolbench_key': toolbench_key}

# # 2nd payload to try
# payload = {
#     "category": "Social",
#     "tool_name": "olato_quotes",
#     "api_name": "love_quote",
#     "tool_input": '{}',
#     "strip": "filter",
#     "toolbench_key": toolbench_key
# }                                                                                                                                                                  
headers = {'toolbench_key': toolbench_key}     

requests.post(service_url, json=payload, headers=headers, timeout=15)

Output: <Response [500]>

Thank you!

szjiozi commented 5 months ago

I have the same issues here!

Melancholy495 commented 5 months ago

cy

HeHeYeast commented 5 months ago

same issues with Internal Server Error

caixd-220529 commented 5 months ago

same issues 😥

pooruss commented 5 months ago

Hi all, sorry for the errors, we encountered some problems on our server. Now the server is working.