Documentation
¶
Overview ¶
Package githubcopilot provides GitHub Copilot's documented OpenAI Chat and Responses gateway endpoints. The key passed to New is an already-authorized Copilot access token; OAuth device/browser exchange belongs in the caller's authentication layer and is intentionally not hidden in this transport.
Index ¶
Constants ¶
View Source
const (
DefaultBaseURL = "https://api.githubcopilot.com"
)
Variables ¶
This section is empty.
Functions ¶
func NewCounter ¶
func NewCounter(_ auth.APIKey) (contextcount.ContextCounter, error)
Types ¶
type CounterSupportError ¶
type CounterSupportError = llm.CounterSupportError
Click to show internal directories.
Click to hide internal directories.