Skip to content

CLI: support streamed events from Apollo - #996

Merged
josephjclark merged 3 commits into
mainfrom
apollo-streaming
Sep 12, 2025
Merged

josephjclark merged 3 commits into
mainfrom
apollo-streaming

Conversation

@josephjclark

@josephjclark josephjclark commented Sep 12, 2025 •

Copy link
Copy Markdown
Collaborator

This PR adds a little bit of special support for events streamed out of Apollo.

This is just for debugging really: events are logged to a special logger and so appear under the EVT namespace in the CLI output:

image

Events are just rendered with the event type (status, token, whatever) and the payload (string or JSON) dumped into stdout.

This works against the new streaming API. Output can be quite noisy but you can disable most logs by doing:

 openfn apollo job_chat -s tmp/payload.json --log none

AI Usage

Please disclose how you've used AI in this work (it's cool, we just want to know!):

  • Code generation (copilot but not intellisense)
  • Learning or fact checking
  • Strategy / design
  • Optimisation / refactoring
  • Translation / spellchecking / doc gen
  • Other
  • I have not used AI

You can read more details in our Responsible AI Policy

@github-project-automation github-project-automation Bot moved this to New Issues in Core Sep 12, 2025
@josephjclark
josephjclark merged commit 69227e3 into main Sep 12, 2025
@github-project-automation github-project-automation Bot moved this from New Issues to Done in Core Sep 12, 2025
@josephjclark
josephjclark deleted the apollo-streaming branch September 12, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant