Skip to content

Commit 85ca4e3

Browse files
committed
Improve Clibot system prompt and bump version to 0.1.2
1 parent cc70205 commit 85ca4e3

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

clibot/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.1"
1+
__version__ = "0.1.2"

clibot/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ def main():
316316
else:
317317
print(f"{LIGHT_GREEN}[UNKNOWN ROLE]{COLOR_RESET}\n{content}\n")
318318
time.sleep(0.1)
319+
exit()
319320
except FileNotFoundError:
320321
print(f"{LIGHT_RED}No conversation history found.{COLOR_RESET}\n")
321322
exit()

clibot/system.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,10 @@ def get_system_clibot():
6262
- **CPU:** `{cpu_info}`
6363
- **GPU:** `{gpu_info}`
6464
- **Memory:** `{mem_info}`
65-
- **Disk:** `{disk_info}`"""
65+
- **Disk:** `{disk_info}`
66+
67+
## Best Practices
68+
69+
- Maintain professionalism and clarity in all interactions.
70+
- Focus on delivering answers that meet the user's needs efficiently.
71+
- Adapt your approach based on the context and complexity of the query."""

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="clibot",
8-
version="0.1.1",
8+
version="0.1.3",
99
author="linuztx",
1010
author_email="[email protected]",
1111
description = "An innovative command-line tool driven by powerful large language models, designed to accelerate task completion and maximize your productivity.",

0 commit comments

Comments
 (0)