config

package
v0.99.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package config loads cmd/agent headless CLI configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.99.0

type Config struct {
	FlowbotURL  string `yaml:"flowbot_url"`
	AccessToken string `yaml:"access_token"`
}

Config is the local flowbot-agent configuration.

func Load

func Load(path string) (*Config, error)

Load reads agent YAML from path. Missing file is allowed when env supplies values.

func (*Config) LLMBaseURL added in v0.99.0

func (c *Config) LLMBaseURL() string

LLMBaseURL returns the OpenAI-compatible base URL for the agent LLM proxy.

func (*Config) Validate added in v0.99.0

func (c *Config) Validate() error

Validate checks required fields.

Jump to

Keyboard shortcuts

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