From 447d65dbc23979950b8d5e4c818b32357709dc0c Mon Sep 17 00:00:00 2001 From: Sixian Yi Date: Tue, 21 Jan 2025 18:23:19 -0800 Subject: [PATCH] fix --- llama_stack/templates/fireworks/report.md | 10 +++++----- tests/client-sdk/metadata.py | 2 +- tests/client-sdk/report.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/llama_stack/templates/fireworks/report.md b/llama_stack/templates/fireworks/report.md index 890132b33..568535437 100644 --- a/llama_stack/templates/fireworks/report.md +++ b/llama_stack/templates/fireworks/report.md @@ -1,6 +1,6 @@ # Report for fireworks distribution -## Supported Models: +## Supported Models: | Model Descriptor | fireworks | |:---|:---| | Llama-3-8B-Instruct | ❌ | @@ -26,7 +26,7 @@ | Llama-Guard-3-8B | ✅ | | Llama-Guard-2-8B | ❌ | -## Inference: +## Inference: | Model | API | Capability | Test | Status | |:----- |:-----|:-----|:-----|:-----| | Text | /chat_completion | streaming | test_text_chat_completion_streaming | Passed | @@ -39,15 +39,15 @@ | Text | /completion | non_streaming | test_text_completion_non_streaming | Passed | | Text | /completion | structured_output | test_text_completion_structured_output | Passed | -## Memory: +## Memory: | API | Capability | Test | Status | |:-----|:-----|:-----|:-----| | insert and query | inline | test_memory_bank_insert_inline_and_query | Error | | insert and query | url | test_memory_bank_insert_from_url_and_query | Failed | -## Agent: +## Agent: | API | Capability | Test | Status | |:-----|:-----|:-----|:-----| | create_agent_turn | rag | test_rag_agent | Failed | | create_agent_turn | custom_tool | test_custom_tool | Passed | -| create_agent_turn | code_execution | test_code_execution | Failed | \ No newline at end of file +| create_agent_turn | code_execution | test_code_execution | Failed | diff --git a/tests/client-sdk/metadata.py b/tests/client-sdk/metadata.py index e36b6f272..667150578 100644 --- a/tests/client-sdk/metadata.py +++ b/tests/client-sdk/metadata.py @@ -28,7 +28,7 @@ INFERENCE_API_CAPA_TEST_MAP = { } MEMORY_API_CAPA_TEST_MAP = { - "insert and query": { + "/insert, /query": { "inline": ["test_memory_bank_insert_inline_and_query"], "url": ["test_memory_bank_insert_from_url_and_query"], } diff --git a/tests/client-sdk/report.py b/tests/client-sdk/report.py index 614bc8296..7a675372b 100644 --- a/tests/client-sdk/report.py +++ b/tests/client-sdk/report.py @@ -182,7 +182,7 @@ class Report: test_nodeids = self.test_name_to_nodeid[test_name] assert len(test_nodeids) > 0 test_table.append( - f"| {api} | {capa} | {test_name} | {self.test_data[test_nodeids[0]]} |" + f"| /{api} | {capa} | {test_name} | {self.test_data[test_nodeids[0]]} |" ) report.extend(test_table) output_file = self.output_path