MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / awsModelID

Function awsModelID

relay/channel/aws/relay-aws.go:71–77  ·  view source on GitHub ↗
(requestModel string)

Source from the content-addressed store, hash-verified

69}
70
71func awsModelID(requestModel string) string {
72 if awsModelID, ok := awsModelIDMap[requestModel]; ok {
73 return awsModelID
74 }
75
76 return requestModel
77}
78
79func awsHandler(c *gin.Context, info *relaycommon.RelayInfo, requestMode int) (*types.NewAPIError, *dto.Usage) {
80 awsCli, err := newAwsClient(c, info)

Callers 2

awsHandlerFunction · 0.85
awsStreamHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected