-
Notifications
You must be signed in to change notification settings - Fork 185
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
Ollama Tool Streaming #1486
Comments
Interestingly, this is still not working for me: from griptape.drivers import OllamaPromptDriver
from griptape.structures import Agent
from griptape.tools import CalculatorTool
agent = Agent(
prompt_driver=OllamaPromptDriver(model="llama3.2", stream=True),
tools=[CalculatorTool()],
)
agent.run("What is (192 + 12) ^ 4")
vs from griptape.drivers import OllamaPromptDriver
from griptape.structures import Agent
from griptape.tools import CalculatorTool
agent = Agent(
prompt_driver=OllamaPromptDriver(model="llama3.2", stream=False),
tools=[CalculatorTool()],
)
agent.run("What is (192 + 12) ^ 4")
EDIT: nvm, dumb mistake on my end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
OllamaPromptDriver
does not support tool use with streaming. It should now that Ollama supports it.The text was updated successfully, but these errors were encountered: