Skip to content

Commit 59ee80b

Browse files
committed
chore: update
1 parent fcb0d3f commit 59ee80b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ from strands_tools import calculator
5959
from strands_sglang import SGLangClient, SGLangModel
6060

6161
async def main():
62-
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
6362
client = SGLangClient(base_url="http://localhost:30000")
64-
model = SGLangModel(tokenizer=tokenizer, client=client)
63+
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
64+
model = SGLangModel(client=client, tokenizer=tokenizer)
6565
agent = Agent(model=model, tools=[calculator])
6666

6767
result = await agent.invoke_async("What is 25 * 17?")

0 commit comments

Comments
 (0)