Help us shape the future of Go! Take the 2026 Go Developer Survey

example

command
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Command example runs a two-step agent conversation against the real OpenAI API (or any OPENAI_BASE_URL server). OPENAI_API_KEY must be set; the tool call and its round-trip are printed.

From this directory: go run . "What's the weather in Paris?"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL