basic

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Command basic 演示最小集成路径:Health → ListModels → CreateSession → Run → 收 HighEvent → 清理。这是集成方最常用的入口组合。

用法(默认指向本机 6096 无口令 serve):

go run ./examples/basic
go run ./examples/basic -url http://127.0.0.1:4096 -token XXX -dir /path/to/repo -prompt "解释这个项目"

预期输出:依次打印模型数、sessionID、文本增量与最终 token 用量。

Jump to

Keyboard shortcuts

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