源码索引 / CURRENT IMPLEMENTATION
examples/lookup.py
2 行 · 构建时读取的实际文件,不是讲解用伪代码。
price = tool("lookup", key=inputs["item"])
result = {"item": inputs["item"], "total": price * inputs["quantity"]}2 行 · 构建时读取的实际文件,不是讲解用伪代码。
price = tool("lookup", key=inputs["item"])
result = {"item": inputs["item"], "total": price * inputs["quantity"]}