We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcb0d3f commit 59ee80bCopy full SHA for 59ee80b
README.md
@@ -59,9 +59,9 @@ from strands_tools import calculator
59
from strands_sglang import SGLangClient, SGLangModel
60
61
async def main():
62
- tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
63
client = SGLangClient(base_url="http://localhost:30000")
64
- model = SGLangModel(tokenizer=tokenizer, client=client)
+ tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
+ model = SGLangModel(client=client, tokenizer=tokenizer)
65
agent = Agent(model=model, tools=[calculator])
66
67
result = await agent.invoke_async("What is 25 * 17?")
0 commit comments