copilotprovider

package
v0.0.0-...-4f5adad Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgent

func NewAgent(cclient *copilot.Client, config AgentConfig) *agent.Agent

NewAgent creates an agent backed by the GitHub Copilot SDK.

Types

type AgentConfig

type AgentConfig struct {
	agent.Config

	// SessionConfig configures Copilot sessions created or resumed by the agent.
	SessionConfig *copilot.SessionConfig

	// Instructions are appended to the Copilot system message for each run.
	Instructions string
}

AgentConfig contains configuration for a GitHub Copilot-backed agent.Agent.

Jump to

Keyboard shortcuts

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