simple-openai
simple-openai copied to clipboard
Conversation2Demo gives a file path error on Windows
Run Conversation2Demo on windows (I've cloned the repo into G:\Code)
Observe the error:
Exception in thread "main" java.nio.file.InvalidPathException: Illegal char <:> at index 2: /G:/Code/simple-openai/src/demo/resources/mistral-ai.txt
The error happens in CleverClient in HttpMultipart.java on line 52:
Path path = Path.of((new URL((String)entry.getValue())).getPath());
Best regards, Alex