Skip to content

Commit

Permalink
Bump version to 0.7.1 and improve 'sidekick' feature warnings 馃殌
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
TechNickAI committed Jul 3, 2023
1 parent 64bb80d commit d25d3de
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aicodebot/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "0.7.0"
version = "0.7.1"
13 changes: 12 additions & 1 deletion aicodebot/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
# ----------------------- Setup for rich console output ---------------------- #
console = Console()
bot_style = Style(color="#30D5C8")
error_style = Style(color="#FF0000")
warning_style = Style(color="#FFA500")


# -------------------------- Top level command group ------------------------- #
Expand Down Expand Up @@ -237,7 +239,16 @@ def review(commit, verbose):
@click.option("--task", "-t", help="The task you want to perform - a description of what you want to do.")
@click.option("-v", "--verbose", count=True)
def sidekick(task, verbose):
"""ALPHA/EXPERIMENTAL: Get help with a task from your AI sidekick."""
"""ALPHA/EXPERIMENTAL: Get coding help from your AI sidekick."""
console.print(
"鈿狅笍 WARNING: The 'sidekick' feature is currently experimental and, frankly, it sucks right now. "
"Due to the token limitations with large language models, the amount of context "
"that can be sent back and forth is limited, and slow. This means that sidekick will struggle with "
"complex tasks and will take longer than a human for simpler tasks.\n"
"Play with it, but don't expect too much. Do you feel like contributing? 馃槂",
style=warning_style,
)

setup_environment()

model = get_llm_model()
Expand Down

0 comments on commit d25d3de

Please sign in to comment.