Repository navigation
Docs/integrator notes - #25
Open
aggarmoksh wants to merge 3 commits into
Open
aggarmoksh wants to merge 3 commits into
aggarmoksh wants to merge 3 commits into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…otes Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two README changes, docs only, no code changes. Both were checked against
@beeai/cli@0.8.0(run withnpx -y @beeai/cli@0.8.0, Windows 10.0.26300.9711).new-utterancepayload. The README example showedutterance.textandutterance.speaker. Live events carryid,sample_id,start,end,textandspoken_at, and nospeaker. The example now matches, and a sentence notes that the pretty and--agentformats therefore show the speaker asunknown. No formatter change is proposed here.bee proxy, and the line-size note forbee stream --json.How each was verified
new-utterancepayload.stream --types new-utterance --json, with one sentence spoken near the Watch. Four events arrived.type: str,conversation_uuid: str,utterance: {id: int, sample_id: str, start: float, end: float, text: str, spoken_at: str}.spoken_atis an ISO 8601 UTC string with milliseconds.stream --types new-utterance --agent, with another sentence. The printed line isEvent new-utterance: [unknown] "..." conv=....sources/commands/stream/index.tsprintsutterance.speaker ?? "unknown", and--jsonprintsevent.dataunchanged.POST /v1/todosthroughbee proxy --port 8788withContent-Type: application/jsonreturned415(FST_ERR_CTP_INVALID_MEDIA_TYPE, "Unsupported Media Type"). Three tries, including--data-binary; same result each time.Content-Type: application/json; charset=utf-8, the same POST returned200, andPUT /v1/todos/<id>returned200.ValueError: Separator is not found, and chunk exceed the limit. The event type and size are not known. The note advises raising the limit and does not claim a specific event.Observation, not in the docs:
todo-updatedWith CLI 0.8.0, a todo created and completed through the REST API did not produce
todo-createdortodo-updatedevents on the stream. Onlytodo-deletedarrived.Repro:
npx -y @beeai/cli@0.8.0 proxy --port 8788npx -y @beeai/cli@0.8.0 stream --types todo-created,todo-updated,todo-deleted --jsoncurl -X POST http://127.0.0.1:8788/v1/todos -H 'Content-Type: application/json; charset=utf-8' -d '{"text":"test"}'curl -X PUT http://127.0.0.1:8788/v1/todos/<id> -H 'Content-Type: application/json; charset=utf-8' -d '{"completed":true}'DELETE /v1/todos/<id>.Result: nothing but the heartbeat after the create and the complete. About 20 seconds after the DELETE, a
todo-deletedevent arrived. Single run, n=1. The README describestodo-updatedas "same payload as todo-created", so this may be worth a look.Related
The socket-directory fix lives in a separate PR (
fix/proxy-socket-dir), so this PR no longer carries a socket note.Context
This came out of building a project for the Amazon Build, Ship, Shape hackathon (Bee track).