hanzo 0.3.21__py3-none-any.whl → 0.3.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of hanzo might be problematic. Click here for more details.

hanzo/cli.py CHANGED
@@ -26,7 +26,7 @@ from .utils.output import console
26
26
  from .interactive.repl import HanzoREPL
27
27
 
28
28
  # Version
29
- __version__ = "0.3.21"
29
+ __version__ = "0.3.22"
30
30
 
31
31
 
32
32
  @click.group(invoke_without_command=True)
hanzo/commands/repl.py CHANGED
@@ -167,8 +167,11 @@ def exec(ctx, command: tuple, model: str):
167
167
 
168
168
  asyncio.run(run())
169
169
 
170
- except ImportError:
171
- console.print("[red]Error:[/red] hanzo-repl not installed")
170
+ except ImportError as e:
171
+ console.print(f"[red]Import Error:[/red] {e}")
172
+ console.print(
173
+ "[yellow]Note:[/yellow] hanzo-repl may not be installed correctly"
174
+ )
172
175
  except Exception as e:
173
176
  console.print(f"[red]Error: {e}[/red]")
174
177