API not working

#34
by GLECO - opened

Hello,

For the final hands-on, the API seems to not work to fetch document. For example, if you try the endpoint

GET file/cca530fc-4052-43b2-b130-b30968d8aa44

with the live API, the server replies with

detail": "No file path associated with task_id cca530fc-4052-43b2-b130-b30968d8aa44.

even if this task has a file attached. Could you please fix this issue ?

Thanks

Hey @GLECO I'm experiencing the same issue, so I went ahead and created a small replacement for files only.
You can find it here: https://philipp-zettl-gaia-api.hf.space/
Use it to query files via GET https://philipp-zettl-gaia-api.hf.space/files/<file_id>. file_id is equivalent to the file_name attribute coming from https://agents-course-unit4-scoring.hf.space/questions.

Hope that helps, and good luck with your submission!

Sign up or log in to comment