File API does not delete files upon request
Closed this issue · 7 comments
genai.delete_file(frame.response.name), buffers forever. There is no response, no error, just buffering until I cancel the call.
Hi, can you provide more information? What language are you using? Is it a colab notebook? Is it a local colab notebook? thanks!
I'm using Python, and its a local file (just a .py), not a notebook.
Thanks! Is it possible to share the code with me so I can debug further?
Sorry, I'm not sure I still have it. I will try and find it for you though.
The example's working fine in colab, I don't think we can help without sone way to reproduce this.
Deleting files via REST API also works fine. Using the provided files/sjkdfsdi
name to delete it. The name can be retrieved using the list_files
method.
I used this approach in my Gemini SDK for .NET. Works nicely.
Marking this issue as stale since it has been open for 14 days with no activity. This issue will be closed if no further activity occurs.