-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the problem
The v1/apps/{id}/bricks response must not include the compatible_models.
To reproduce
curl http://localhost:8800/v1/apps/ZXhhbXBsZXM6aW1hZ2UtY2xhc3NpZmljYXRpb24/bricks | jq
"bricks": [
{
"id": "arduino:web_ui",
"name": "WebUI - HTML",
"author": "Arduino",
"category": "ui",
"status": "installed",
"require_model": false,
"compatible_models": null
},
{
"id": "arduino:image_classification",
"name": "Image Classification",
"author": "Arduino",
"category": "video",
"status": "installed",
"variables": {
"CUSTOM_MODEL_PATH": "/home/arduino/.arduino-bricks/ei-models",
"EI_CLASSIFICATION_MODEL": "/models/ootb/ei/mobilenet-v2-224px.eim"
},
"config_variables": [
{
"name": "CUSTOM_MODEL_PATH",
"value": "/home/arduino/.arduino-bricks/ei-models",
"description": "path to the custom model directory",
"required": false
},
{
"name": "EI_CLASSIFICATION_MODEL",
"value": "/models/ootb/ei/mobilenet-v2-224px.eim",
"description": "path to the model file",
"required": false
}
],
"require_model": true,
"compatible_models": null
}
]
}
Expected behavior
curl http://localhost:8800/v1/apps/ZXhhbXBsZXM6aW1hZ2UtY2xhc3NpZmljYXRpb24/bricks | jq
"bricks": [
{
"id": "arduino:web_ui",
"name": "WebUI - HTML",
"author": "Arduino",
"category": "ui",
"status": "installed",
"require_model": false,
},
{
"id": "arduino:image_classification",
"name": "Image Classification",
"author": "Arduino",
"category": "video",
"status": "installed",
"variables": {
"CUSTOM_MODEL_PATH": "/home/arduino/.arduino-bricks/ei-models",
"EI_CLASSIFICATION_MODEL": "/models/ootb/ei/mobilenet-v2-224px.eim"
},
"config_variables": [
{
"name": "CUSTOM_MODEL_PATH",
"value": "/home/arduino/.arduino-bricks/ei-models",
"description": "path to the custom model directory",
"required": false
},
{
"name": "EI_CLASSIFICATION_MODEL",
"value": "/models/ootb/ei/mobilenet-v2-224px.eim",
"description": "path to the model file",
"required": false
}
],
"require_model": true,
}
]
Arduino App CLI version
main
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest version
- My report contains all necessary details
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working