Skip to content

Commit

Permalink
Modify AI API import call related additionalProperties object
Browse files Browse the repository at this point in the history
  • Loading branch information
ashera96 committed Oct 22, 2024
1 parent db2ba75 commit bd2a45f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions import-export-cli/integration/apim/apim.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,12 @@ func (instance *Client) GenerateAdditionalProperties(provider, endpointUrl, apiT
"advertiseInfo": ` + string(advertiseInfo) + `}`
} else if strings.EqualFold(apiType, "AIAPI") {
additionalProperties = additionalProperties +
`"aiConfiguration": {
"llmProviderName": "MistralAI",
"llmProviderApiVersion": "1.0.0"
`"subtypeConfiguration": {
"subtype":"AIAPI",
"configuration":{
"llmProviderName": "MistralAI",
"llmProviderApiVersion": "1.0.0"
}
},
"securityScheme": ["api_key"],
"egress": true,
Expand Down

0 comments on commit bd2a45f

Please sign in to comment.