File_search AND code_interpreter activated at the same time: only file_search seems to work

Steps to reproduce in Playground/Dashboard:

  • Create a brand new assistant with model gpt-4o
  • Activate file_search and attach a word/pdf file (I usually have a very simple test file with barely one sentence like “the magic password is chameleon” – so I can easily ask “what’s the pwd”)
  • Activate code_interpreter and attach an excel file or a python file if you prefer (I have a very simple XL test file with only 2 columns: one for the “years” and the second for “benefits” … only years 2015-2024 … and therefore I can easily ask questions about this data)
  • Go to the playground and ask a simple question about the file attached with code_interpreter, it will answer that your file does not have the requested info because it’s looking at the file in file_search
  • Disable file_search and ask the question again and it works

Is it possible to use both file_search and code_interpreter ?

1 Like

Has anyone else noticed the same problem ?
Thanks.