Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(tinyflows): use runtime transcript helper for reasoning content

Steven Enamakel14e5f9e17cbd
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/prompt.rs b/crates/openhuman-core/src/flows/tinyflows/caps/prompt.rs
index 1ccf02a208..5cbce31f00 100644
--- a/crates/openhuman-core/src/flows/tinyflows/caps/prompt.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/caps/prompt.rs
@@ -67,7 +67,7 @@ pub(crate) fn model_response_to_completion_value(
"usage": usage_to_json(
&crate::agent::tinyagents::model::usage_info_from_response(response)
),
- "reasoning_content": crate::agent::tinyagents::reasoning_from_content(
+ "reasoning_content": tinyagents_runtime::transcript::reasoning_from_content(
&response.message.content
),
})