refclient

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package refclient provides official-SDK-based reference client emulators for integration and conformance tests. They are test-support utilities only: they must not be imported from the core runtime (internal/core) or protocol codec plugins.

Each subpackage wraps the vendor’s published Go client so requests and response parsing follow the same shapes as real applications. Normative HTTP/API contracts are documented in .kiro/specs/archive/go-core-reimplementation-v1/research.md under “Official API specification references”; task-level coverage is recorded in refclient-spec-matrix.md in the same spec directory.

Multimodal scenarios use shared binary fixtures under testdata/refclient at the module root.

Directories

Path Synopsis
Package anthropicmessages is a reference client emulator for the Anthropic Messages API, built on github.com/anthropics/anthropic-sdk-go.
Package anthropicmessages is a reference client emulator for the Anthropic Messages API, built on github.com/anthropics/anthropic-sdk-go.
Package gemini is a reference client emulator for the Google Gemini generateContent API, built on google.golang.org/genai.
Package gemini is a reference client emulator for the Google Gemini generateContent API, built on google.golang.org/genai.
Package openaichat is a reference client emulator for the OpenAI Chat Completions API (legacy OpenAI-compatible chat surface), using github.com/openai/openai-go/v3.
Package openaichat is a reference client emulator for the OpenAI Chat Completions API (legacy OpenAI-compatible chat surface), using github.com/openai/openai-go/v3.
Package openairesponses is a reference client emulator for the OpenAI Responses API, built on github.com/openai/openai-go/v3.
Package openairesponses is a reference client emulator for the OpenAI Responses API, built on github.com/openai/openai-go/v3.
Package openresponses is an independent OpenResponses reference client emulator.
Package openresponses is an independent OpenResponses reference client emulator.
Package refclienttest holds helpers shared by refclient emulator tests.
Package refclienttest holds helpers shared by refclient emulator tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL