Added debug output for new configurations
This commit is contained in:
@@ -89,7 +89,6 @@ def set_openai_api_key(config):
|
||||
if not openai.api_key:
|
||||
openai.api_key = config["openai_api_key"]
|
||||
|
||||
# TODO: Add new configuration paramters
|
||||
def print_config(config):
|
||||
"""
|
||||
Print config information.
|
||||
@@ -105,10 +104,13 @@ def print_config(config):
|
||||
the following keys: "model", "temperature", "max_tokens", "safety", "shell".
|
||||
"""
|
||||
print("Current configuration per yolo.yaml:")
|
||||
print("— API : " + str(config["api"]))
|
||||
print("— Model : " + str(config["model"]))
|
||||
print("— Temperature : " + str(config["temperature"]))
|
||||
print("— Max. Tokens : " + str(config["max_tokens"]))
|
||||
print("— Safety : " + str(bool(config["safety"])))
|
||||
print("— Modify : " + str(bool(config["modify"])))
|
||||
print("— Color : " + str(config["suggested_command_color"]))
|
||||
print("— Shell : " + str(config["shell"]))
|
||||
|
||||
def get_os_friendly_name():
|
||||
|
||||
Reference in New Issue
Block a user