Documentation
¶
Overview ¶
Package providersession prepares the one provider runtime shape shared by interactive Claude sessions and management commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
Provider provider.Provider
Runtime *oauthproxy.Runtime
BaseURL string
UseProxy bool
// contains filtered or unexported fields
}
Session is the resolved provider view for one operation. Provider is always a copy, so preparing a session never mutates persisted configuration.
func Prepare ¶
Prepare discovers any missing API-key gateway models, starts the shared Anthropic Messages adapter when required, and returns the resolved endpoint.
func PrepareProxy ¶ added in v1.5.21
PrepareProxy provides the local Messages endpoint used by Codex's protocol adapter, including native Anthropic gateways that Claude can contact directly.