Luis Paterrebuild branchf5dc3801 year agoHistory
17 lines · 838 B · Go
RawDownload
// Package interfaces defines the core interfaces and shared structures for the CLI Proxy API server.// These interfaces provide a common contract for different components of the application,// such as AI service clients, API handlers, and data models.package interfaces // APIHandler defines the interface that all API handlers must implement.// This interface provides methods for identifying handler types and retrieving// supported models for different AI service endpoints.type APIHandler interface {	// HandlerType returns the type identifier for this API handler.	// This is used to determine which request/response translators to use.	HandlerType() string 	// Models returns a list of supported models for this API handler.	// Each model is represented as a map containing model metadata.	Models() []map[string]any}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t