you must have run down the codes in the assignment environment which is also counted in your quota, so assignments codes are used by learners with usuage limit.
But I didn´t have the API code when I did the assignments on the Jupyter notebook on the deeplearning platform. And I can still get_llm_response from the Jupyter on deeplearning platform…
Each user is assigned a limit usage even in work environment, also try to use search tool to find similar thread where you might find solutions to your issue as you haven’t shared any screenshot of the error you got i cannot say much.