fix: update process_metadata_outputs to handle serde_yaml::Value

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-27 17:47:48 -03:00
parent cb685d4329
commit 97fb35b5f0
4 changed files with 37 additions and 16 deletions

View File

@@ -223,7 +223,7 @@ impl MetaPlugin for HostnameMetaPlugin {
if hostname_enabled {
if let Some(meta_data) = crate::meta_plugin::process_metadata_outputs(
"hostname",
hostname_value,
serde_yaml::Value::String(hostname_value),
&self.outputs
) {
metadata.push(meta_data);
@@ -234,7 +234,7 @@ impl MetaPlugin for HostnameMetaPlugin {
if hostname_full_enabled {
if let Some(meta_data) = crate::meta_plugin::process_metadata_outputs(
"hostname_full",
full_hostname.clone(),
serde_yaml::Value::String(full_hostname.clone()),
&self.outputs
) {
metadata.push(meta_data);
@@ -245,7 +245,7 @@ impl MetaPlugin for HostnameMetaPlugin {
if hostname_short_enabled {
if let Some(meta_data) = crate::meta_plugin::process_metadata_outputs(
"hostname_short",
short_hostname,
serde_yaml::Value::String(short_hostname),
&self.outputs
) {
metadata.push(meta_data);