Documentation
¶
Overview ¶
Command sdk-fixture is a minimal SDK-based extension for integration testing. Unlike testdata/fixture-ext/ (raw protocol), this uses the Go SDK to verify the SDK→Host wire format round-trip end-to-end.
The wire format mismatch bug (schema vs parameters, []string vs []HandlerDecl) was only caught in production because no integration test exercised the real SDK path. This fixture exists to close that gap.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Extension ¶
Extension returns the canonical Go SDK fixture shared by subprocess and fused conformance harnesses.
func ModelCall ¶
ModelCall registers /model-call, which makes one model call through the host for the provider named in its arguments. Every SDK's model calls are host calls, so the request the provider receives is PiG's own.
func ProviderProducer ¶
ProviderProducer is shared by isolated, packed and fused Go provider-stream tests.
func ReferenceToolSchemaRejected ¶
func ReferenceToolSchemaRejected() bool
func RejectInvalidToolSchema ¶
Types ¶
This section is empty.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Command sdk-fixture runs the canonical Go SDK conformance extension over a subprocess socket.
|
Command sdk-fixture runs the canonical Go SDK conformance extension over a subprocess socket. |
|
Package extensionapi is the Go SDK extension of the Pi 0.99.1 extension API conformance rows.
|
Package extensionapi is the Go SDK extension of the Pi 0.99.1 extension API conformance rows. |
|
Package modeltypes is the Go SDK extension of the typed model operation conformance rows: ctx.modelRegistry's typed reads, getAvailableOfType, classify and registerVirtualModel, and the image and classifier implementations of a provider config and of a Provider object.
|
Package modeltypes is the Go SDK extension of the typed model operation conformance rows: ctx.modelRegistry's typed reads, getAvailableOfType, classify and registerVirtualModel, and the image and classifier implementations of a provider config and of a Provider object. |