Documentation
¶
Overview ¶
Package mockanthropic serves deterministic Anthropic-compatible test streams.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
Text string
Turns []Turn
OnRequest func(json.RawMessage)
RateLimitFailures int
RetryAfter string
}
Server serves deterministic Anthropic-compatible streaming responses for tests and local smoke runs.
Click to show internal directories.
Click to hide internal directories.