Code generation with tools is 💩️ ?

#29
by dgallitelli - opened

Hello everyone! I've tried SmolLM2 and I'm impressed by how small it is and how good its answer are most of the time! I've been trying it for Agentic use cases where it has a Python REPL as a tool, and I've identified a strange behaviour: the code generated IF the python REPL tool is attached is always print("Hello world!"), while it correctly generates the code when no tool is provided. What could be the problem here?

Sign up or log in to comment