Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunChat ¶
func RunChat(ctx context.Context, pool *agent.Pool, provider, model string, listFn ModelListFunc, switchFn ModelSwitchFunc, userID ...int64) error
RunChat starts an interactive terminal chat session using Bubble Tea. An optional userID associates sessions with a user for per-user memory.
Types ¶
type ModelListFunc ¶
type ModelListFunc = channel.ModelListFunc
ModelListFunc re-exports channel.ModelListFunc for use by callers.
type ModelOption ¶
type ModelOption = channel.ModelOption
ModelOption re-exports channel.ModelOption for use by callers.
type ModelSwitchFunc ¶
type ModelSwitchFunc = channel.ModelSwitchFunc
ModelSwitchFunc re-exports channel.ModelSwitchFunc for use by callers.
Click to show internal directories.
Click to hide internal directories.