We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1510d85 commit 848252cCopy full SHA for 848252c
scripts/wtf.py
@@ -112,6 +112,10 @@ def stop(self):
112
113
"""
114
115
+shell = ""
116
+if os.environ.get("SHELL"):
117
+ shell = "Shell: " + os.environ.get("SHELL")
118
+
119
CUSTOM_MESSAGE_SYSTEM_MESSAGE = f"""
120
121
You are a fast, efficient AI assistant for terminal and coding tasks. When summoned, you will:
@@ -132,9 +136,9 @@ def stop(self):
132
136
133
137
User's System: {platform.system()}
134
138
CWD: {os.getcwd()}
135
-{"Shell: " + os.environ.get('SHELL') if os.environ.get('SHELL') else ''}
139
+{shell}
140
-"""
141
+""".strip()
142
143
LOCAL_SYSTEM_MESSAGE = f"""
144
You're a fast AI assistant for terminal issues. You must:
0 commit comments