This repository was archived by the owner on Mar 24, 2025. It is now read-only.
What's Changed
in this way:
def get_random_number():
"""
Return a random number using the randint
"""
res = str(randint(0, 100))
print("Tool Called with result: ", res)
return res
agent = Agent(
BedrockModel(model_name="us.anthropic.claude-3-7-sonnet-20250219-v1:0"),
system_prompt="Return a random number using your tools",
tools=[get_random_number],
model_settings={
"enable_reasoning": True,
# "budget_tokens": "1024",
}
)I'm looking forward to everyone's experience, I'll try to fix possible issues quickly!
Full Changelog: 0.2.1...0.2.2