huggingface/smolagents
Documented errors, page 2 of 2. Back to huggingface/smolagents
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Cannot assign to name | error_code | error | smolagents, name-collision, static-tools, variable-shadowing, interpreter-error |
| The 'model_id' parameter will be required in version 2.0.0… | console | warning | smolagents, transformers, deprecation, model-config |
| This method should be implemented in child classes | exception | critical | smolagents, abstract-method, notimplementederror, subclassing |
| You must install package `ddgs` to run this tool: for… | exception | error | dependency, import-error, search-tool, smolagents |
| Cannot unpack tuple of wrong size | error_code | error | smolagents, unpacking, arity-mismatch, interpreter-error, sandbox |
| Could not find source code for | exception | error | smolagents, serialization, ipython, dynamic-objects |
| Match n° not found (only matches found) | exception | error | smolagents, selenium, web-browser, dom-search |
| Reached the max number of operations of | exception | error | python-executor, operation-limit, infinite-loop, sandbox, smolagents |
| Unsupported engine | validation | error | search-tool, input-validation, smolagents |
| Cannot save objects created with from_space, from_langchain… | exception | error | smolagents, serialization, from-space, wrapper |
| The model output does not contain any JSON blob. | exception | error | smolagents, llm-output-parsing, json, model-output |
| Please install 'openai' extra to use OpenAIModel: `pip… | exception | error | openai, missing-dependency, pip-extra, installation |
| The 'system_prompt' property is read-only. Use… | exception | error | smolagents, read-only-property, system-prompt, attributeerror |
| Invalid extract_format. Choose between 'WIKI' or 'HTML'. | validation | error | wikipedia, input-validation, smolagents |
| Amazon Bedrock does not support response_format | validation | error | bedrock, aws, response-format, structured-output, unsupported-feature |
| The JSON blob you used is invalid due to the following error | exception | error | smolagents, llm-output-parsing, json, syntax-error |
| Agent name ' ' must be a valid Python identifier and not a… | validation | error | smolagents, name-validation, python-identifier, valueerror |
| Missing API key. Make sure you have 'EXA_API_KEY' in your… | validation | error | missing-env-var, api-key, search-tool, smolagents |
| No results found! Try a less restrictive/shorter query. | exception | warning | search-tool, empty-results, smolagents |
| Please install 'transformers' extra to use a PipelineTool… | exception | error | transformers, torch, accelerate, optional-dependency |
| Could not index with | exception | error | python-executor, subscript, key-error, index-error, smolagents |
| Could not find specified | exception | error | smolagents, gradio, from-space, api-name |
| Unsupported action type | validation | error | cli, agent-config, input-validation, smolagents |
| Argument is not in the tool's input schema | exception | error | tool-call, schema-validation, arguments |
| Agent interrupted. | exception | warning | smolagents, interruption, cancellation, agenterror |
| Expected class or callable, got | validation | error | smolagents, utils, type-guard, introspection |
| Cannot specify both 'messages' and 'steps' parameters. Use… | validation | error | smolagents, deprecated-parameter, api-migration, valueerror |
| In tool ' ', 'forward' method parameters were , but… | exception | error | smolagents, tool, forward, signature-mismatch |
| No code cells found in IPython session | exception | error | smolagents, serialization, ipython |
| Invoking a builtin function that has not been explicitly… | exception | error | python-executor, sandbox, builtin, security, smolagents |
| You must install `wikipedia-api` to run this tool: for… | exception | error | dependency, import-error, wikipedia, smolagents |
| User-agent is required. Provide a meaningful identifier for… | validation | error | wikipedia, input-validation, user-agent, smolagents |
| {msg} | exception | error | python-executor, assert, validation, smolagents |
| The 'model_id' parameter will be required in version 2.0.0… | console | warning | smolagents, anthropic, deprecation, model-config |
| Deletion of targets is not supported | exception | error | python-executor, del, unsupported-syntax, smolagents |
| Write this method in your subclass of `Tool`. | exception | error | smolagents, tool, not-implemented, abstract-method |
| Assertion failed | exception | error | python-executor, assert, validation, smolagents |
| Import from is not allowed. Authorized imports are | exception | error | python-executor, import, sandbox, security, smolagents |
| Import of is not allowed. Authorized imports are | exception | error | python-executor, import, sandbox, security, smolagents |
| This tool does not implement a default checkpoint, you need… | exception | error | pipelinetool, checkpoint, configuration |
| Tool dictionary must contain 'code' key with the tool… | exception | error | smolagents, deserialization, from-dict, missing-key |
| Unknown final answer format: expected 'safe:' or 'pickle:'… | validation | error | deserialization, final-answer, format-prefix, version-mismatch |
| Unsupported comparison operator | exception | error | python-executor, comparison, ast, smolagents |
| Loading a tool from Hub requires to acknowledge you trust… | exception | error | smolagents, hub, trust-remote-code, security |
| Non-installed authorized modules | exception | error | |
| Module has no attribute | exception | error | python-executor, import, attribute-error, smolagents |
| Cannot unpack non-dict value in **kwargs | exception | error | python-executor, kwargs, type-error, smolagents |
| Re-raise is not supported without an active exception | exception | error | python-executor, raise, exception-handling, smolagents |
| super() argument 1 must be type | exception | error | python-executor, super, type-check, smolagents |
| super() takes at most 2 arguments | exception | error | python-executor, super, argument-count, smolagents |
| Cannot delete index/key | exception | error | python-executor, del, subscript, key-error, smolagents |
| Cannot delete name ' ': name is not defined | exception | error | python-executor, del, name-error, smolagents |