When I do
with Glean(api_token=api_token, instance='zillow') as g_client:
res = g_client.client.chat.upload_files(files=[ { "file_name": "example_A.html", "content": open("example_A.html", "rb") }, ])
I get a 400 error
glean.api_client.errors.gleanerror.GleanError: API error occurred: Status 400
Unable to parse request
I've tried a number of different variations of passing the files, including reading the file with .read() and passing as a File and FileTypedDict objects. I am connected to VPN.