Browse Source

fix: The variable 'wisdomFilePath' is already a complete path constructed with 'config_directory'. Joining it again with 'current_directory' could lead to an incorrect path.

The variable 'wisdomFilePath' is already a complete path constructed with 'config_directory'. Joining it again with 'current_directory' could lead to an incorrect path.
pull/368/head
Hurrison 7 months ago committed by GitHub
parent
commit
5bc4223984
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      installer/client/cli/utils.py

2
installer/client/cli/utils.py

@ -172,7 +172,7 @@ class Standalone:
else: else:
user = input_data user = input_data
user_message = {"role": "user", "content": f"{input_data}"} user_message = {"role": "user", "content": f"{input_data}"}
wisdom_File = os.path.join(current_directory, wisdomFilePath) wisdom_File = wisdomFilePath
buffer = "" buffer = ""
system = "" system = ""
if self.pattern: if self.pattern:

Loading…
Cancel
Save