Versions in this module Expand all Collapse all v0 v0.2.0 May 15, 2026 Changes in this version + type MockLLMServer struct + Requests []MockRequest + Responses []MockResponse + Server *httptest.Server + func NewMockLLMServer(t *testing.T, responses ...MockResponse) *MockLLMServer + func (m *MockLLMServer) ContainsString(s string) bool + func (m *MockLLMServer) LastRequest() MockRequest + func (m *MockLLMServer) RequestCount() int + func (m *MockLLMServer) URL() string + type MockRequest struct + Body map[string]interface{} + Method string + Path string + type MockResponse struct + Content string + StatusCode int + StopReason string + ToolUse []ToolUseBlock + func ErrorResponse(statusCode int) MockResponse + func SimpleTextResponse(text string) MockResponse + func ToolUseResponse(toolName string, input map[string]interface{}) MockResponse + type ToolUseBlock struct + ID string + Input map[string]interface{} + Name string