Spaces:
Sleeping
Sleeping
Update app.py
Browse files285 unmodified lines286287288289289290291292293294295285 unmodified lines ], )
self.agent.system_prompt = system_prompt + "\n\n" + self.agent.system_prompt # Prepend our custom system prompt to the existing one self.agent.prompt_templates["system_prompt"] = ( system_prompt + "\n\n" + self.agent.prompt_templates["system_prompt"] ) print("SmolAgent initialized successfully!")
def __call__(self, question: str, task_id: str = None) -> str:app.py+4-1