Update mascot
This commit is contained in:
		
							parent
							
								
									2ae590edf4
								
							
						
					
					
						commit
						40087aad0b
					
				|  | @ -24,7 +24,8 @@ limitations under the License. | ||||||
| </p> | </p> | ||||||
| 
 | 
 | ||||||
| <h3 align="center"> | <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> | </h3> | ||||||
| 
 | 
 | ||||||
| `smolagents` is a library that enables you to run powerful agents in a few lines of code. It offers: | `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 |     id: str | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class AgentStep: | class AgentStepLog: | ||||||
|     pass |     pass | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @dataclass | @dataclass | ||||||
| class ActionStep(AgentStep): | class ActionStep(AgentStepLog): | ||||||
|     agent_memory: List[Dict[str, str]] | None = None |     agent_memory: List[Dict[str, str]] | None = None | ||||||
|     tool_calls: List[ToolCall] | None = None |     tool_calls: List[ToolCall] | None = None | ||||||
|     start_time: float | None = None |     start_time: float | None = None | ||||||
|  | @ -90,22 +90,24 @@ class ActionStep(AgentStep): | ||||||
|     duration: float | None = None |     duration: float | None = None | ||||||
|     llm_output: str | None = None |     llm_output: str | None = None | ||||||
|     observations: str | None = None |     observations: str | None = None | ||||||
|  |     observations_images: List[Image] | ||||||
|     action_output: Any = None |     action_output: Any = None | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @dataclass | @dataclass | ||||||
| class PlanningStep(AgentStep): | class PlanningStep(AgentStepLog): | ||||||
|     plan: str |     plan: str | ||||||
|     facts: str |     facts: str | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @dataclass | @dataclass | ||||||
| class TaskStep(AgentStep): | class TaskStep(AgentStepLog): | ||||||
|     task: str |     task: str | ||||||
|  |     task_images: List[Image] | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @dataclass | @dataclass | ||||||
| class SystemPromptStep(AgentStep): | class SystemPromptStep(AgentStepLog): | ||||||
|     system_prompt: str |     system_prompt: str | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue