Skip to content

support tool calls #212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

support tool calls #212

wants to merge 1 commit into from

Conversation

joshyan1
Copy link
Contributor

No description provided.

@joshyan1 joshyan1 requested a review from mxyng July 16, 2024 18:41
@@ -109,6 +109,7 @@ def generate(
raw: bool = False,
format: Literal['', 'json'] = '',
images: Optional[Sequence[AnyStr]] = None,
tools: Optional[Sequence[Any]] = None,
Copy link
Collaborator

Choose a reason for hiding this comment

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

tools isn't implemented for generate. it's implemented for Client.chat and AsyncClient.chat

@joshyan1 joshyan1 closed this Jul 16, 2024
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