Bedrock improvements. Getting back conversations, but losing context after tool calls

This commit is contained in:
Ryan Ward
2026-05-08 15:24:14 -05:00
parent 9e0af95953
commit fe105e0369
11 changed files with 117 additions and 24 deletions
+1
View File
@@ -8,6 +8,7 @@ license.workspace = true
[dependencies]
itertools.workspace = true
log.workspace = true
prost.workspace = true
prost-reflect.workspace = true
prost-types.workspace = true
+6 -5
View File
@@ -101,11 +101,12 @@ fn apply_path(
let field_desc = match target.descriptor().get_field_by_name(field_name) {
Some(f) => f,
None => {
// Applying a field mask on unknown fields are a no-op.
//
// This implies the client's API version is outdated with respect
// to the server response. Adding fields is backwards-compatible
// in protobuf, where expected behavior is to no-op.
log::warn!("[field_mask] Unknown field '{}' in message '{}' (path: {:?}). Available fields: {:?}",
field_name,
target.descriptor().full_name(),
path_segments,
target.descriptor().fields().map(|f| f.name().to_string()).collect::<Vec<_>>()
);
return Ok(());
}
};