Skip to content

Commit

Permalink
debug tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Feb 16, 2025
1 parent 763e8b7 commit 314ba53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/git_bob/_terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,13 @@ def handler(signum, frame):
provider = Config.llm_name.split(":")[0]
for key, value in prompt_handlers.items():
if key == provider:
Log().log(f"Selecting prompt handler by provider name ({provider}): " + value.__name__)
prompt_function = partial(value, model=Config.llm_name)
break
else:
for key, value in prompt_handlers.items():
if key in Config.llm_name:
Log().log("Selecting prompt handler by llm_name: " + value.__name__)
prompt_function = partial(value, model=Config.llm_name)
break

Expand Down

0 comments on commit 314ba53

Please sign in to comment.