Help us shape the future of Go! Take the 2026 Go Developer Survey

copilotprovider

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package copilotprovider provides GitHub Copilot-backed agents via NewAgent, mapping Copilot session events to framework response updates.

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