(t *testing.T)
| 35 | } |
| 36 | |
| 37 | func TestExec_OpenAI_ToolCall(t *testing.T) { |
| 38 | t.Parallel() |
| 39 | out := runCLI(t, "run", "--exec", "testdata/fs_tools.yaml", "How many files in testdata/working_dir? Only output the number.") |
| 40 | |
| 41 | require.Equal(t, "\nCalling list_directory(path: \"testdata/working_dir\")\n\nlist_directory response → \"FILE README.me\\n\"\n1", out) |
| 42 | } |
| 43 | |
| 44 | func TestExec_OpenAI_HideToolCalls(t *testing.T) { |
| 45 | t.Parallel() |