Documentation
¶
Overview ¶
Package agyproxy contains the temporary request-filter compatibility layer needed while agy cannot combine MCP with an empty native-tool set.
Keep this package independent of internal/llm. Once agy supports that combination directly, the provider can replace its agyToolIsolation implementation and this package can be deleted.
Index ¶
Constants ¶
const (
CloudCodeHost = "daily-cloudcode-pa.googleapis.com"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a loopback-only HTTPS forward proxy. It intercepts only the Cloud Code host; CONNECT requests for every other host are tunneled without TLS termination.
func (*Server) BeginTurn ¶
BeginTurn resets interception evidence and configures dispatcher enforcement.
func (*Server) FilteredGenerations ¶
FilteredGenerations reports successfully rewritten generation requests in the current turn.
func (*Server) SetRequireMCP ¶
SetRequireMCP controls whether generation requests lacking call_mcp_tool are rejected. Providers should enable this for turns exposing term-llm tools.