MCPcopy Create free account
hub / github.com/diillson/chatcli / getAPIURL

Method getAPIURL

llm/githubmodels/github_models_client.go:77–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77func (c *GitHubModelsClient) getAPIURL() string {
78 return utils.GetEnvOrDefault("GITHUB_MODELS_API_URL", config.GitHubModelsAPIURL)
79}
80
81func (c *GitHubModelsClient) getModelsURL() string {
82 apiURL := c.getAPIURL()

Callers 2

getModelsURLMethod · 0.95
SendPromptMethod · 0.95

Calls 1

GetEnvOrDefaultFunction · 0.92

Tested by

no test coverage detected