planning

package
v0.0.0-...-fa69716 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_TASK_DESC_PROMPT = `` /* 3582-byte string literal not displayed */

	DEFAULT_PLANNING_PROMPT = `` /* 1290-byte string literal not displayed */

)

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option struct {
	SystemPrompt       string
	TaskDescribePrompt string
}

type Todo

type Todo struct {
	// contains filtered or unexported fields
}

func New

func New(option Option) *Todo

func (*Todo) BeforeAgent

func (a *Todo) BeforeAgent(ctx context.Context, sess *session.Session, req session.AgentRequest) error

func (*Todo) BeforeModel

func (a *Todo) BeforeModel(ctx context.Context, sess *session.Session, req providers.Request) error

func (*Todo) RemoveTodo

func (a *Todo) RemoveTodo(sess *session.Session)

type TodoItem

type TodoItem struct {
	Describe string `json:"describe"`
	Status   string `json:"status"`
}

type TodoList

type TodoList struct {
	Todos []*TodoItem `json:"todos"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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