| 47 | } |
| 48 | |
| 49 | type ModelProvider interface { |
| 50 | GetPricing() string |
| 51 | QueryText(question string, writer io.Writer, history []*RawMessage, prompt string, knowledgeMessages []*RawMessage, toolSession *ToolSession, lang string) (*ModelResult, error) |
| 52 | ListModels() ([]string, error) |
| 53 | } |
| 54 | |
| 55 | func newListModelsHTTPClient() *http.Client { |
| 56 | if proxy.ProxyHttpClient != nil { |
no outgoing calls
no test coverage detected