diff --git a/codeinterpreterapi/session.py b/codeinterpreterapi/session.py index f5f12e7b..bf90eec2 100644 --- a/codeinterpreterapi/session.py +++ b/codeinterpreterapi/session.py @@ -108,6 +108,9 @@ def _tools(self, additional_tools: list[BaseTool]) -> list[BaseTool]: description="Input a string of code to a ipython interpreter. " "Write the entire code in a single string. This string can " "be really long, so you can use the `;` character to split lines. " + "Start your code on the same line as the opening quote. " + "Do not start your code with a line break. " + "For example, do 'import numpy', not '\\nimport numpy'." "Variables are preserved between runs. " + ( (