transformers-coding-session
Collection
agentcap: paired HTTP captures + native session traces. Join on run_id. • 5 items • Updated
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
id: string
source: string
user_id: null
model: string
model_config: string
system_prompt: string
parent_session_id: string
started_at: double
ended_at: double
end_reason: string
message_count: int64
tool_call_count: int64
input_tokens: int64
output_tokens: int64
cache_read_tokens: int64
cache_write_tokens: int64
reasoning_tokens: int64
cwd: null
billing_provider: string
billing_base_url: string
billing_mode: null
estimated_cost_usd: double
actual_cost_usd: null
cost_status: string
cost_source: string
pricing_version: null
title: null
api_call_count: int64
handoff_state: null
handoff_platform: null
handoff_error: null
rewind_count: int64
last_active: double
messages: list<item: struct<id: int64, session_id: string, role: string, content: string, tool_call_id: string (... 420 chars omitted)
child 0, item: struct<id: int64, session_id: string, role: string, content: string, tool_call_id: string, tool_call (... 408 chars omitted)
child 0, id: int64
child 1, session_id: string
child 2, role: string
child 3, content: string
child 4, tool_call_id: string
child 5, tool_calls: list<item: struct<id: string, call_id: string, response_item_id: string, type: string, function: str (... 38 chars omitted)
child 0, item: struct<id: string, call_id: string, response_item_id: string, type: string, function: struct<name: s (... 26 chars omitted)
child 0, id: string
child 1, call_id: string
child 2, response_item_id: string
child 3, type: string
child 4, function: struct<name: string, arguments: string>
child 0, name: string
child 1, arguments: string
child 6, tool_name: string
child 7, timestamp: double
child 8, token_count: null
child 9, finish_reason: string
child 10, reasoning: string
child 11, reasoning_content: string
child 12, reasoning_details: null
child 13, codex_reasoning_items: null
child 14, codex_message_items: null
child 15, platform_message_id: null
child 16, observed: int64
child 17, active: int64
to
{'id': Value('string'), 'source': Value('string'), 'user_id': Value('null'), 'model': Value('string'), 'model_config': Value('string'), 'system_prompt': Value('string'), 'parent_session_id': Value('string'), 'started_at': Value('float64'), 'ended_at': Value('float64'), 'end_reason': Value('string'), 'message_count': Value('int64'), 'tool_call_count': Value('int64'), 'input_tokens': Value('int64'), 'output_tokens': Value('int64'), 'cache_read_tokens': Value('int64'), 'cache_write_tokens': Value('int64'), 'reasoning_tokens': Value('int64'), 'billing_provider': Value('string'), 'billing_base_url': Value('string'), 'billing_mode': Value('null'), 'estimated_cost_usd': Value('float64'), 'actual_cost_usd': Value('null'), 'cost_status': Value('string'), 'cost_source': Value('string'), 'pricing_version': Value('null'), 'title': Value('null'), 'api_call_count': Value('int64'), 'handoff_state': Value('null'), 'handoff_platform': Value('null'), 'handoff_error': Value('null'), 'last_active': Value('float64'), 'messages': List({'id': Value('int64'), 'session_id': Value('string'), 'role': Value('string'), 'content': Value('string'), 'tool_call_id': Value('string'), 'tool_calls': List({'id': Value('string'), 'call_id': Value('string'), 'response_item_id': Value('string'), 'type': Value('string'), 'function': {'name': Value('string'), 'arguments': Value('string')}}), 'tool_name': Value('string'), 'timestamp': Value('float64'), 'token_count': Value('null'), 'finish_reason': Value('string'), 'reasoning': Value('string'), 'reasoning_content': Value('string'), 'reasoning_details': Value('null'), 'codex_reasoning_items': Value('null'), 'codex_message_items': Value('null'), 'platform_message_id': Value('null'), 'observed': Value('int64')})}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2815, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2352, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2377, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 310, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 130, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
id: string
source: string
user_id: null
model: string
model_config: string
system_prompt: string
parent_session_id: string
started_at: double
ended_at: double
end_reason: string
message_count: int64
tool_call_count: int64
input_tokens: int64
output_tokens: int64
cache_read_tokens: int64
cache_write_tokens: int64
reasoning_tokens: int64
cwd: null
billing_provider: string
billing_base_url: string
billing_mode: null
estimated_cost_usd: double
actual_cost_usd: null
cost_status: string
cost_source: string
pricing_version: null
title: null
api_call_count: int64
handoff_state: null
handoff_platform: null
handoff_error: null
rewind_count: int64
last_active: double
messages: list<item: struct<id: int64, session_id: string, role: string, content: string, tool_call_id: string (... 420 chars omitted)
child 0, item: struct<id: int64, session_id: string, role: string, content: string, tool_call_id: string, tool_call (... 408 chars omitted)
child 0, id: int64
child 1, session_id: string
child 2, role: string
child 3, content: string
child 4, tool_call_id: string
child 5, tool_calls: list<item: struct<id: string, call_id: string, response_item_id: string, type: string, function: str (... 38 chars omitted)
child 0, item: struct<id: string, call_id: string, response_item_id: string, type: string, function: struct<name: s (... 26 chars omitted)
child 0, id: string
child 1, call_id: string
child 2, response_item_id: string
child 3, type: string
child 4, function: struct<name: string, arguments: string>
child 0, name: string
child 1, arguments: string
child 6, tool_name: string
child 7, timestamp: double
child 8, token_count: null
child 9, finish_reason: string
child 10, reasoning: string
child 11, reasoning_content: string
child 12, reasoning_details: null
child 13, codex_reasoning_items: null
child 14, codex_message_items: null
child 15, platform_message_id: null
child 16, observed: int64
child 17, active: int64
to
{'id': Value('string'), 'source': Value('string'), 'user_id': Value('null'), 'model': Value('string'), 'model_config': Value('string'), 'system_prompt': Value('string'), 'parent_session_id': Value('string'), 'started_at': Value('float64'), 'ended_at': Value('float64'), 'end_reason': Value('string'), 'message_count': Value('int64'), 'tool_call_count': Value('int64'), 'input_tokens': Value('int64'), 'output_tokens': Value('int64'), 'cache_read_tokens': Value('int64'), 'cache_write_tokens': Value('int64'), 'reasoning_tokens': Value('int64'), 'billing_provider': Value('string'), 'billing_base_url': Value('string'), 'billing_mode': Value('null'), 'estimated_cost_usd': Value('float64'), 'actual_cost_usd': Value('null'), 'cost_status': Value('string'), 'cost_source': Value('string'), 'pricing_version': Value('null'), 'title': Value('null'), 'api_call_count': Value('int64'), 'handoff_state': Value('null'), 'handoff_platform': Value('null'), 'handoff_error': Value('null'), 'last_active': Value('float64'), 'messages': List({'id': Value('int64'), 'session_id': Value('string'), 'role': Value('string'), 'content': Value('string'), 'tool_call_id': Value('string'), 'tool_calls': List({'id': Value('string'), 'call_id': Value('string'), 'response_item_id': Value('string'), 'type': Value('string'), 'function': {'name': Value('string'), 'arguments': Value('string')}}), 'tool_name': Value('string'), 'timestamp': Value('float64'), 'token_count': Value('null'), 'finish_reason': Value('string'), 'reasoning': Value('string'), 'reasoning_content': Value('string'), 'reasoning_details': Value('null'), 'codex_reasoning_items': Value('null'), 'codex_message_items': Value('null'), 'platform_message_id': Value('null'), 'observed': Value('int64')})}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
hermes coding-agent session traces produced by
agentcap runs. Each run
contributes one folder under data/<run_id>/; inside, one file per
session in hermes's native export format.
The on-the-wire HTTP captures for these same runs live in
dacorvo/transformers-coding-session-captures.
Both belong to the
transformers-coding-session Collection
— join on run_id to align captures with traces.