MCPcopy Index your code
hub / github.com/SMNETSTUDIO/Groq2API / generateRefreshToken

Function generateRefreshToken

pkg/groq/request.go:91–94  ·  view source on GitHub ↗
(api_key string)

Source from the content-addressed store, hash-verified

89}
90
91func generateRefreshToken(api_key string) string {
92 prefix := "public-token-live-26a89f59-09f8-48be-91ff-ce70e6000cb5:" + api_key
93 return base64.StdEncoding.EncodeToString([]byte(prefix))
94}
95func ChatCompletions(client tls_client.HttpClient, api_request groq.APIRequest, api_key string, organization string, proxy string) (*http.Response, error) {
96 if proxy != "" {
97 client.SetProxy(proxy)

Callers 1

GetSessionTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected