Spaces:
Runtime error
Runtime error
| { | |
| "description": "This is a tool that counts the tokens of a prompt. It takes an input named `prompt` which may contains a system_role, user_message, context and history. It returns the token count of a input.", | |
| "name": "token_counter", | |
| "tool_class": "token_counter.TokenCounterTool" | |
| } |