❓ Why am I getting "Error" when running the First Agent Template on Hugging Face Spaces?

#364
by satoyutaka - opened

Hi, I'm following the Hugging Face AI Agent course and currently testing the First_agent_template Space.

When I run the app and type something (e.g. "こんにちは"), the interface only returns a red label that says "エラー" (which just means "Error" in Japanese), without any detailed message.

Here's a screenshot of the issue:
![Screenshot](link or description)

I'm not sure where the actual error is coming from, since there's no traceback shown in the UI. Could someone help me understand how to debug or properly capture the underlying exception?

Thank you in advance!

無題のプレゼンテーション.png

Have you checked the terminal log? I would suggest that you clone the space to your own account space and look at the terminal log.
The error log would provide helpful information.

I got that error when I ran out of inference tokens. If you are using the free version, then it is very easy to reach the limit.

Thank you very much for your suggestion. I’ll check the terminal logs to see what’s going on. I really appreciate your help. By the way, I’m currently using the free version.

Sign up or log in to comment