Skip to content

Commit d25d3de

Browse files
committed
Bump version to 0.7.1 and improve 'sidekick' feature warnings 🚀
This commit includes two main changes: 1. The version of the `aicodebot` package has been bumped from 0.7.0 to 0.7.1. 2. The 'sidekick' feature in `cli.py` has been updated with more explicit warning messages. These messages inform the user that the feature is experimental and may not perform optimally. Additionally, the command description has been slightly modified for clarity. Two new styles for console output, `error_style` and `warning_style`, have been added to enhance these messages visually.
1 parent 64bb80d commit d25d3de

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

aicodebot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "0.7.0"
1+
version = "0.7.1"

aicodebot/cli.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
# ----------------------- Setup for rich console output ---------------------- #
2121
console = Console()
2222
bot_style = Style(color="#30D5C8")
23+
error_style = Style(color="#FF0000")
24+
warning_style = Style(color="#FFA500")
2325

2426

2527
# -------------------------- Top level command group ------------------------- #
@@ -237,7 +239,16 @@ def review(commit, verbose):
237239
@click.option("--task", "-t", help="The task you want to perform - a description of what you want to do.")
238240
@click.option("-v", "--verbose", count=True)
239241
def sidekick(task, verbose):
240-
"""ALPHA/EXPERIMENTAL: Get help with a task from your AI sidekick."""
242+
"""ALPHA/EXPERIMENTAL: Get coding help from your AI sidekick."""
243+
console.print(
244+
"⚠️ WARNING: The 'sidekick' feature is currently experimental and, frankly, it sucks right now. "
245+
"Due to the token limitations with large language models, the amount of context "
246+
"that can be sent back and forth is limited, and slow. This means that sidekick will struggle with "
247+
"complex tasks and will take longer than a human for simpler tasks.\n"
248+
"Play with it, but don't expect too much. Do you feel like contributing? 😃",
249+
style=warning_style,
250+
)
251+
241252
setup_environment()
242253

243254
model = get_llm_model()

0 commit comments

Comments
 (0)