fix: playground view code

This commit is contained in:
jialin
2024-11-29 15:26:39 +08:00
parent 435161854c
commit cd1d3005e9
15 changed files with 243 additions and 88 deletions
+15
View File
@@ -119,6 +119,21 @@ export const OpenAIViewCode = {
api: 'images/generations',
clientType: 'images.generate',
logcommand: 'data[0].b64_json'
},
imageAdvanced: {
api: '/v1/images/generations',
clientType: 'images.generate',
logcommand: {
python: 'json().data[0].b64_json',
node: 'data[0].b64_json'
}
},
rerank: {
api: '/v1/rerank',
logcommand: {
python: 'json()',
node: 'data'
}
}
};