Your first agent, as the trace sees it
Swipe to change step
Step 1 of 7. Your code sends one request: a model name, a max_tokens limit, the messages and one tool description. The trace logs it as row 1. Your code (the agent loop). Model (simulated in your browser). get_weather (a function you wrote). Show the user (the final answer). arrow from Your code to Model, labelled request. a request moving along request.
In this chapter
Chapter check
Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.
Loading check…