You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Griptape 1.3.0, the issue with OllamaPromptDriver not working with Tools when stream was enabled was resolved, but now the responses aren't streaming at all.
See this example:
fromgriptape.driversimportOllamaPromptDriverfromgriptape.structuresimportAgentfromgriptape.toolsimportDateTimeToolfromgriptape.utilsimportStreamdriver=OllamaPromptDriver(model="llama3.2", stream=True)
agent=Agent(prompt_driver=driver, tools=[DateTimeTool()])
forartifactinStream(agent).run("What's today's date? Write a song about it"):
print(artifact.value, end="", flush=True)
If you run this with the tools the response won't stream - but if you disable the tool it does.
The text was updated successfully, but these errors were encountered:
In Griptape 1.3.0, the issue with OllamaPromptDriver not working with Tools when
stream
was enabled was resolved, but now the responses aren't streaming at all.See this example:
If you run this with the tools the response won't stream - but if you disable the tool it does.
The text was updated successfully, but these errors were encountered: