Skip to content

fix behaviour when tool loop expires with no final prompt set#9

Open
nev-ball wants to merge 1 commit intomainfrom
chore/fix_final_prompt
Open

fix behaviour when tool loop expires with no final prompt set#9
nev-ball wants to merge 1 commit intomainfrom
chore/fix_final_prompt

Conversation

@nev-ball
Copy link

No description provided.

@nev-ball nev-ball requested a review from jdupl123 February 26, 2026 22:34
# %% ../nbs/00_core.ipynb #fa528e85
@patch
def _call(self:Chat, msg:Union[dict, list, None]=None, prefill=None, temp=None, think=None, search=None, stream=False,
max_steps=2, step=1, final_prompt=None, tool_choice=None, max_tokens=None, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think the repo intentionally avoids type annotations, as they dont play nicely with nbdev

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't seem to have caused any problems... Excluding them makes the code much harder to follow, especially since lisette has often opted for the approach of using minimal possible characters in their variable names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants