-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
On Openrouter I filter on those models that have the tag tools.
e.g. openrouter/moonshotai/kimi-k2
I then try and run the quickstart example but get the ValueError.
In [1]: from bespoken import chat
...: from bespoken.tools import FileTool
...: from bespoken import ui
...:
...: def set_role():
...: """Set a voice for the assistant"""
...: roles = ["pirate", "teacher", "professor"]
...: role = ui.choice("What role should I take?", roles)
...: return f"You are now speaking like a {role}. Please respond in character for this role."
...:
...: chat(
...: model_name="openrouter/moonshotai/kimi-k2",
...: tools=[FileTool("README.md")],
...: system_prompt="You are a helpful writing assistant.",
...: debug=False,
...: slash_commands={
...: "/role": set_role,
...: }
...: )
/role
ValueError: OpenRouter: openrouter/moonshotai/kimi-k2 does not support tools
It is not entirely clear what models are supported despite the tool tags.
Metadata
Metadata
Assignees
Labels
No labels