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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user