We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6639555 commit caf1d91Copy full SHA for caf1d91
src/llama_stack_client/lib/cli/eval_tasks/list.py
@@ -16,8 +16,10 @@ def list_eval_tasks(ctx):
16
17
client = ctx.obj["client"]
18
19
- headers = ["identifier", "provider_id", "description", "type"]
20
-
+ headers = []
21
eval_tasks_list_response = client.eval_tasks.list()
+ if eval_tasks_list_response and len(eval_tasks_list_response) > 0:
22
+ headers = sorted(eval_tasks_list_response[0].__dict__.keys())
23
+
24
if eval_tasks_list_response:
25
print_table_from_response(eval_tasks_list_response, headers)
0 commit comments