You don't need to handle code_interpreter locally but you have to perform function_calling locally if you did the configuration. The following repo can be referred but it is done by Python.
https://github.com/ideabosque/openai_assistant_engine