integration

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	ServerURL  string
	HTTPClient *http.Client
}

func NewClient

func NewClient(serverURL string) *Client

func (*Client) ConfigureProjectSlack

func (c *Client) ConfigureProjectSlack(projectID string, payload map[string]any) (*apiclient.SlackReceiver, error)

func (*Client) CreateProject

func (c *Client) CreateProject() (*apiclient.Project, error)

func (*Client) CreateThread

func (c *Client) CreateThread(projectID string) (*apiclient.Thread, error)

func (*Client) GetAgent

func (c *Client) GetAgent(id string) (*apiclient.Agent, error)

func (*Client) GetModels

func (c *Client) GetModels() ([]apiclient.Model, error)

func (*Client) GetProject

func (c *Client) GetProject(id string) (*apiclient.Project, error)

func (*Client) GetProjectTask

func (c *Client) GetProjectTask(projectID, taskID string) (*apiclient.Task, error)

func (*Client) GetProjectThread

func (c *Client) GetProjectThread(projectID, threadID string) (*apiclient.Thread, error)

func (*Client) GetProjectThreadEventsStream

func (c *Client) GetProjectThreadEventsStream(projectID, threadID string) (<-chan Event, <-chan error)

func (*Client) InvokeProjectThread

func (c *Client) InvokeProjectThread(projectID, threadID, message string) error

func (*Client) SetUpDefaultModelAlias

func (c *Client) SetUpDefaultModelAlias(modelID, usage string) error

func (*Client) UpdateAgent

func (c *Client) UpdateAgent(id string, agent apiclient.Agent) (*apiclient.Agent, error)

type Event

type Event struct {
	ID   string
	Data apiclient.Progress
}

Directories

Path Synopsis
tools

Jump to

Keyboard shortcuts

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