Skip to content

dose the owl support windows platform #570

@xunavy

Description

@xunavy

hi,We tried to run the owl on the window11,found there are some examples which can not be running as expected.
The result is :

(.venv) D:\CAMEL\OWL\owl>python examples\run_ollama.py
2025-07-23 17:43:47,188 - camel - DEBUG - Logging level set to: 10
Traceback (most recent call last):
File "D:\CAMEL\OWL\owl\examples\run_ollama.py", line 143, in
main()
File "D:\CAMEL\OWL\owl\examples\run_ollama.py", line 135, in main
society = construct_society(task)
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\CAMEL\OWL\owl\examples\run_ollama.py", line 101, in construct_society
*FileWriteToolkit(output_dir="./").get_tools(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\CAMEL\CAMEL\camel\camel\utils\mcp.py", line 114, in new_init
original_init(instance, *args, **kwargs)
TypeError: FileWriteToolkit.init() got an unexpected keyword argument 'output_dir'

From the code for run_ollama.py ::
`
tools = [
*BrowserToolkit(
headless=False, # Set to True for headless mode (e.g., on remote servers)
web_agent_model=models["browsing"],
planning_agent_model=models["planning"],
).get_tools(),
*CodeExecutionToolkit(sandbox="subprocess", verbose=True).get_tools(),
*ImageAnalysisToolkit(model=models["image"]).get_tools(),
SearchToolkit().search_duckduckgo,
# SearchToolkit().search_google, # Comment this out if you don't have google search
SearchToolkit().search_wiki,
*ExcelToolkit().get_tools(),
*FileWriteToolkit(output_dir="./").get_tools(),
]

the issue is focus on that FileWriteToolkit with output_dir="./" : 1.that parameter seems be not needed, or the "./" is not suit for the windows platform.
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions