Update mascot
This commit is contained in:
parent
2ae590edf4
commit
40087aad0b
|
@ -24,7 +24,8 @@ limitations under the License.
|
|||
</p>
|
||||
|
||||
<h3 align="center">
|
||||
<p>🤗 smolagents - a smol library to build great agents!</p>
|
||||
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/smolagents/mascot.png" alt="Hugging Face mascot as James Bond" width=50px>
|
||||
<p>smolagents - a smol library to build great agents!</p>
|
||||
</h3>
|
||||
|
||||
`smolagents` is a library that enables you to run powerful agents in a few lines of code. It offers:
|
||||
|
|
|
@ -75,12 +75,12 @@ class ToolCall:
|
|||
id: str
|
||||
|
||||
|
||||
class AgentStep:
|
||||
class AgentStepLog:
|
||||
pass
|
||||
|
||||
|
||||
@dataclass
|
||||
class ActionStep(AgentStep):
|
||||
class ActionStep(AgentStepLog):
|
||||
agent_memory: List[Dict[str, str]] | None = None
|
||||
tool_calls: List[ToolCall] | None = None
|
||||
start_time: float | None = None
|
||||
|
@ -90,22 +90,24 @@ class ActionStep(AgentStep):
|
|||
duration: float | None = None
|
||||
llm_output: str | None = None
|
||||
observations: str | None = None
|
||||
observations_images: List[Image]
|
||||
action_output: Any = None
|
||||
|
||||
|
||||
@dataclass
|
||||
class PlanningStep(AgentStep):
|
||||
class PlanningStep(AgentStepLog):
|
||||
plan: str
|
||||
facts: str
|
||||
|
||||
|
||||
@dataclass
|
||||
class TaskStep(AgentStep):
|
||||
class TaskStep(AgentStepLog):
|
||||
task: str
|
||||
task_images: List[Image]
|
||||
|
||||
|
||||
@dataclass
|
||||
class SystemPromptStep(AgentStep):
|
||||
class SystemPromptStep(AgentStepLog):
|
||||
system_prompt: str
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue