While this filter does include codes from an External file, code-fold: true or code-summary: "some text" is not working for that code chunk (that includes the source code). A quick reproducible example is as follows,
test.py
# code from test.py
for name in ["Sam", "Jake"]:
print(f"Hello {name}!")
test.qmd
---
title: "Including Code"
format:
html:
code-fold: true
code-summary: "Python Code"
jupyter: python3
filters:
- include-code-files
---
## Python
```{.python include="test.py"}
```
```{python}
print("Hello World")
```
output

I am using Quarto version,
$ quarto --version
1.2.235
Thanks.