Expand description
gRPC server implementation with dynamic schema support
Implements a gRPC server where the LLM provides protobuf schema definitions and controls RPC request/response handling through JSON.
Re-exports§
pub use value_codec::dynamic_message_to_json;pub use value_codec::json_to_dynamic_message;pub use value_codec::proto_value_to_json;
Modules§
- actions
- gRPC protocol actions implementation
- http1
- Shared affine body lifetime and HTTP header limits for native HTTP/1 RPC bindings.
- stream_
codec - Library-owned framing with the audited field-name JSON conversion for streaming RPCs.
- value_
codec - Bounded conversion of the field-name JSON representation used by both gRPC peers.
Structs§
- Grpc
Server - gRPC server with dynamic schema support
Enums§
- Grpc
Status - gRPC status codes (
google.rpc.Code) this server produces.
Constants§
- MAX_
REQUEST_ BYTES - Largest request body buffered, before gRPC framing. Matches gRPC’s own default
maxReceiveMessageLengthof 4 MiB.
Functions§
- grpc_
status_ for_ llm_ failure - The gRPC status a failed handler call must be reported as.
- grpc_
status_ for_ value_ failure - Classify a peer value conversion refusal without exposing its data in an error header.