Examples · learn/15-first-agent · 214 of 339
typed
tin run examples/learn/15-first-agent/typed.tinagent Counter { model: "mock" }
fn main() {
// Ask for an int, get an int. Chapter 17 is about this.
let n: int = Counter("how many legs does a spider have? 8")
print(n + 1)
}