ErrLookup › huggingface/smolagents
huggingface/smolagents
🤗 smolagents: a barebones library for agents that think in code. · Python · 18 source files
Analyzed at 30bb116109 on 2026-08-28. 152 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| is not supported. | exception | error | smolagents, python-executor, ast, unsupported-syntax |
| Unexpected API response: model | exception | error | litellm, smolagents, empty-response, upstream, llm-provider |
| Tool validation failed for | validation | error | smolagents, tool-validation, linting |
| Unknown model class ' '. Supported models | validation | error | smolagents, serialization, model-registry, deserialization |
| Cannot serialize object | validation | error | serialization, pickle, smolagents |
| Tool call needs to have a key | exception | error | smolagents, tool-calls, json-parsing, llm-output |
| Tool call index is not provided in tool delta | exception | error | smolagents, streaming, tool-calls, provider-compatibility |
| Code execution failed at line | exception | error | smolagents, runtime-error, code-execution, llm-output |
| Source code must define a class | exception | error | smolagents, tool-validation, ast, introspection |
| Forbidden function evaluation | exception | error | smolagents, name-resolution, unauthorized-call, missing-import, sandbox |
| Incorrect role , only are supported for now. | exception | error | smolagents, chat-messages, role-validation, message-history |
| You must set an attribute | exception | error | smolagents, tool, validation, missing-attribute |
| Couldn't retrieve tools from MCP server, run… | exception | error | smolagents, mcp, lifecycle, not-connected |
| Parameter 'structured_output' was not specified. Currently… | console | warning | mcp, futurewarning, deprecation, smolagents, structured-output |
| No content or tool calls in event | validation | error | litellm, streaming, smolagents, sse, delta-chunk |
| Error executing tool | exception | error | smolagents, tool-introspection, schema-generation, type-annotations |
| `stream_outputs` is set to True, but the model class… | validation | error | smolagents, streaming, model-capability, constructor-validation |
| Forbidden access to module | error_code | error | smolagents, sandbox, authorized-imports, interpreter-error, security |
| Since `api_name` was not defined, it was automatically set… | console | info | gradio, huggingface-space, tool, smolagents, default-value |
| Code parsing failed on line | exception | error | smolagents, syntax-error, code-parsing, llm-output |
| Argument has type ' ' but should be | exception | error | smolagents, tool-calling, type-validation, json-schema |
| Error while parsing tool call from model output | exception | error | smolagents, tool-calling, output-parsing, json |
| Forbidden access to function | error_code | critical | smolagents, sandbox, dangerous-functions, security, interpreter-error |
| Pickle data rejected: allow_pickle=False requires safe-only… | exception | error | serialization, pickle, security, smolagents |
| Unsupported model type | validation | error | cli, model-config, input-validation, smolagents |
| Unsupported statement in class body | error_code | error | smolagents, class-definition, unsupported-statement, interpreter-error, sandbox |
| {e} | exception | error | smolagents, tool-arguments, validation, type-error |
| If you want to return an answer, please do not perform any… | exception | error | smolagents, tool-calling, final-answer, agent-execution |
| Managed agents are not yet supported with remote code… | exception | error | smolagents, codeagent, managed-agents, remote-executor, unsupported-combination |
| Your code snippet is invalid, because the regex pattern | validation | error | smolagents, code-agent, llm-output-parsing, prompt-format |
| Binary operation is not implemented. | error_code | error | smolagents, binary-operator, matmul, not-implemented, sandbox |
| Pickle data rejected: allow_pickle=False requires safe-only… | exception | error | serialization, pickle, legacy-migration, security |
| InferenceClientModel only supports structured outputs with… | validation | error | huggingface, structured-output, response-format, provider-support |
| Code execution exceeded the maximum execution time of | error_code | error | smolagents, timeout, execution-timeout, sandbox, infinite-loop |
| Error in code parsing | exception | error | smolagents, codeagent, code-parsing, output-format |
| Invalid Tool name ' ': must be a valid Python identifier… | exception | error | smolagents, tool, identifier, validation |
| Error during jinja template rendering | exception | error | jinja2, prompt-template, smolagents, undefined-variable |
| Input ' ': types must be one of | validation | error | smolagents, tool, authorized-types, validation |
| No results found for query | exception | warning | search-tool, empty-results, smolagents |
| Error while generating output | exception | error | smolagents, llm-provider, generation-failure, wrapper-exception |
| No active IPython shell found | exception | error | smolagents, serialization, ipython, inspect |
| Unsupported transport | validation | error | smolagents, mcp, transport, config-validation |
| Attribute should have type , got instead. | exception | error | smolagents, tool, type-error, validation |
| super() needs at least one argument | exception | error | python-executor, super, oop, smolagents |
| Tool return type not found: make sure your function has a… | exception | error | tool-decorator, type-hints, schema |
| Error executing tool | exception | error | smolagents, tool-execution, runtime-error, wrapper-exception |
| Input ' ': type must be a string or list of strings, got | exception | error | smolagents, tool, inputs, type-validation |
| Unsupported executor type | validation | error | smolagents, codeagent, executor-type, configuration |
| Function ' ' has decorators other than @tool. This may… | console | warning | decorator, serialization, remote-execution, smolagents, ast |
| Object is not iterable | error_code | error | smolagents, iteration, type-error, sandbox, interpreter-error |
| Unknown agent class ' '. Supported agents | validation | error | smolagents, from-folder, managed-agents, registry |
| You returned multiple final answers. Please return only one… | exception | error | smolagents, final-answer, tool-calling, agent-execution |
| Object has no attribute | error_code | error | smolagents, attribute-error, method-call, none-safety, interpreter-error |
| Please install 'mcp' extra to use MCPClient: `pip install… | exception | error | smolagents, mcp, optional-dependency, module-not-found |
| Argument has type ' ' but should be | exception | error | smolagents, tool-calling, type-validation |
| Please install 'litellm' extra to use LiteLLMRouterModel… | exception | error | litellm, missing-dependency, pip-extra, installation |
| Please install 'openai' extra to use AzureOpenAIModel: `pip… | exception | error | azure, openai, missing-dependency, pip-extra |
| No message content blocks with 'text' key found in response | exception | error | bedrock, response-parsing, keyerror, tool-use, thinking-blocks |
| Cannot unpack non-tuple value | error_code | error | smolagents, unpacking, type-error, interpreter-error, sandbox |
| The space returned this message: | exception | error | smolagents, gradio, space, remote-error |
| Deserializing pickle data. This is a security risk if the… | console | warning | smolagents, serialization, pickle, security, deserialization |
| This is not a correct function | error_code | warning | smolagents, function-call, ast-validation, interpreter-error, unsupported-operation |
| AugAssign not supported for | error_code | error | smolagents, augmented-assignment, unsupported-operation, interpreter-error, f-string-bug |
| The variable ` ` is not defined. | exception | error | python-executor, name-error, undefined-variable, smolagents |
| Loading an agent from Hub requires to acknowledge you trust… | validation | error | smolagents, security, huggingface-hub, remote-code |
| Parameter 'messages' is deprecated and will be removed in… | console | warning | smolagents, deprecation, future-warning, agents |
| step_callbacks must be a list or a dict | validation | error | smolagents, step-callbacks, type-validation, valueerror |
| Tool is not recognized either as a default tool or a Space. | validation | error | cli, tools, input-validation, smolagents |
| Forbidden access to dunder attribute | error_code | error | smolagents, sandbox, dunder, security, attribute-access |
| Falling back to insecure pickle serialization. This is a… | console | warning | smolagents, serialization, pickle, security |
| No ' ' token provided in your output. Your output: . Be… | exception | error | smolagents, react-parsing, codeagent, model-output-format |
| Please install 'bedrock' extra to use… | exception | error | aws, bedrock, boto3, missing-dependency, pip-extra |
| Unsupported AnnAssign target in class body | error_code | warning | smolagents, class-definition, annassign, unsupported-operation, interpreter-error |
| Your code snippet is invalid, because the regex pattern | validation | error | smolagents, code-agent, llm-output-parsing, prompt-format |
| Argument is required | validation | error | smolagents, tool-calling, missing-argument, validation |
| Gradio should be installed in order to launch a gradio demo. | exception | error | gradio, optional-dependency, importerror, demo |
| Unknown tool , should be one of: . | exception | error | smolagents, unknown-tool, tool-calling, hallucinated-name |
| Operation is not supported. | error_code | warning | smolagents, augmented-assignment, unsupported-operation, interpreter-error |
| No results found for query | exception | warning | search-tool, empty-results, year-filter, smolagents |
| Pickle data rejected: allow_pickle=False | validation | critical | pickle, deserialization, security, final-answer, allow-pickle |
| Each tool or managed_agent should have a unique name! You… | validation | error | smolagents, duplicate-names, tools, valueerror |
| Input ' ': when type is a list, all elements must be… | exception | error | smolagents, tool, inputs, type-error |
| Please install 'mcp' extra to use ToolCollection.from_mcp… | exception | error | mcp, optional-dependency, importerror, toolcollection |
| No function definition found in the provided source of | exception | error | tool-decorator, source-inspection, ast |
| JSON is invalid: you probably tried to provide multiple… | exception | error | smolagents, llm-output-parsing, json, tool-calling |
| Check failed with error | exception | error | smolagents, final-answer-checks, validation, agenterror |
| Missing API key. Make sure you have | validation | error | missing-env-var, api-key, search-tool, smolagents |
| No Tool subclass found in the code. | exception | error | smolagents, from-code, tool-subclass, dynamic-import |
| Error in generating model output | exception | error | smolagents, codeagent, llm-provider, generation-failure |
| Cannot add non-list value | error_code | error | smolagents, augmented-assignment, list, type-error, interpreter-error |
| Only 'markdown' is supported for a string argument to… | validation | error | smolagents, codeagent, configuration, input-validation |
| Received both `token` and `api_key` arguments. Please… | validation | error | huggingface, inference-api, argument-conflict, auth |
| Multiple @tool decorators found on function | exception | error | tool-decorator, ast, duplicate-decorator |
| Forbidden call to dunder function | exception | error | python-executor, sandbox, dunder, security, smolagents |
| Unary operation is not supported. | error_code | warning | smolagents, unary-operator, unsupported-operation, interpreter-error |
| You must install packages `markdownify` and `requests` to… | exception | error | dependency, import-error, web-tool, smolagents |
| Maximum number of iterations in While loop exceeded | error_code | error | smolagents, while-loop, infinite-loop, iteration-limit, sandbox |
| Cannot safely serialize object of type | exception | error | serialization, json, pickle, safe-mode, final-answer |
| Attribute output_schema should have type dict, got | exception | error | smolagents, tool, type-error, json-schema |
| Loading tools from MCP requires you to acknowledge you… | exception | error | mcp, security, opt-in, valueerror |