LangStream / langstream

LangStream. Event-Driven Developer Platform for Building and Running LLM AI Apps. Powered by Kubernetes and Kafka.
https://langstream.ai
Apache License 2.0
393 stars 29 forks source link

SimpleHeader values not decoding properly in log-event agent #760

Open ddieruf opened 8 months ago

ddieruf commented 8 months ago

Given this agent config:

  - name: Log Evaluation Results
    id: log-evaluation-results
    type: log-event

The output was:

runtime
16:42:11.230 [grpc-default-executor-1] INFO a.l.agents.flow.LogEventProcessor -- GrpcAgentRecord[id=0, key=null, value="no", origin=null, timestamp=null, headers=[SimpleRecord.SimpleHeader(key=judgment_id, value=[B@46ad4ee8), SimpleRecord.SimpleHeader(key=judgment_action_topic, value=[B@1bfd4627), SimpleRecord.SimpleHeader(key=judgment_action_message, value=[B@8072ea8)]]

Notice the SimpleHeader.value's are still encoded.