The prompt indicated that the previous implementation was consuming too many tokens. This commit aims to reduce token usage.