janhq / cortex.cpp

Local AI API Platform
https://cortex.so
Apache License 2.0
2.14k stars 127 forks source link

bug: AI Model Launch Failure Due to Special Character Path Issue #1559

Open imtuyethan opened 4 weeks ago

imtuyethan commented 4 weeks ago

Cortex version

Jan v0.5.7 | Cortex v-

Describe the Bug

https://discord.com/channels/1107178041848909847/1300098068980568095

A known issue exists with the llama.cpp engine’s handling of special characters in file paths. This problem impacts the ability to launch AI models.

Steps to Reproduce

1.  Store the wizardcoder-python-13b model file in a directory containing special characters in the path.
2.  Attempt to launch the model using the llama.cpp engine within the Cortex interface.
3.  Observe an error indicating that the model does not exist, despite being present at the specified location.

Screenshots / Logs

message.txt

What is your OS?

What engine are you running?

gabrielle-ong commented 3 weeks ago

Special character was due to the user's account name (after C:\Users[here])