mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-07 10:50:56 +00:00
- Add _create_metric_stub_from_protobuf method to correctly parse protobuf metrics - Add _extract_attributes_from_data_point helper method - Change metric handling to use protobuf-specific parsing instead of OpenTelemetry native parsing - Add missing typing import - Add OTEL_METRIC_EXPORT_INTERVAL environment variable for test configuration This fixes the CI failure where metrics were not being properly extracted from protobuf data in server mode tests.
89 lines
2.1 KiB
JSON
Generated
89 lines
2.1 KiB
JSON
Generated
{
|
|
"test_id": null,
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://0.0.0.0:11434/v1/v1/models",
|
|
"headers": {},
|
|
"body": {},
|
|
"endpoint": "/v1/models",
|
|
"model": ""
|
|
},
|
|
"response": {
|
|
"body": [
|
|
{
|
|
"__type__": "openai.types.model.Model",
|
|
"__data__": {
|
|
"id": "llama3.2:3b-instruct-fp16",
|
|
"created": 1760453641,
|
|
"object": "model",
|
|
"owned_by": "library"
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.model.Model",
|
|
"__data__": {
|
|
"id": "qwen3:4b",
|
|
"created": 1757615302,
|
|
"object": "model",
|
|
"owned_by": "library"
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.model.Model",
|
|
"__data__": {
|
|
"id": "gpt-oss:latest",
|
|
"created": 1756395223,
|
|
"object": "model",
|
|
"owned_by": "library"
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.model.Model",
|
|
"__data__": {
|
|
"id": "nomic-embed-text:latest",
|
|
"created": 1756318548,
|
|
"object": "model",
|
|
"owned_by": "library"
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.model.Model",
|
|
"__data__": {
|
|
"id": "llama3.2:3b",
|
|
"created": 1755191039,
|
|
"object": "model",
|
|
"owned_by": "library"
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.model.Model",
|
|
"__data__": {
|
|
"id": "all-minilm:l6-v2",
|
|
"created": 1753968177,
|
|
"object": "model",
|
|
"owned_by": "library"
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.model.Model",
|
|
"__data__": {
|
|
"id": "llama3.2:1b",
|
|
"created": 1746124735,
|
|
"object": "model",
|
|
"owned_by": "library"
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.model.Model",
|
|
"__data__": {
|
|
"id": "llama3.2:latest",
|
|
"created": 1746044170,
|
|
"object": "model",
|
|
"owned_by": "library"
|
|
}
|
|
}
|
|
],
|
|
"is_streaming": false
|
|
},
|
|
"id_normalization_mapping": {}
|
|
}
|