Repository navigation
feat(alephalpha): trace the Aleph Alpha client, zero-code - #731
Merged
Merged
Conversation
…luate and streaming spans
…, evaluate and streams; register zero-code auto-instrumentation
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.
What
New
traceAI-alephalphapackage: tracing for the Aleph Alpha Python client (aleph-alpha-client>=7.6.0,<12), also registered in zero-code auto-instrumentation (fi-instrument/FI_AUTO_INSTRUMENT=truepicks it up when the client is installed).ClientandAsyncClient:complete,chat,evaluate,embed,embeddings,semantic_embed,batch_semantic_embed,instructable_embed, plus the asynccomplete_with_streaming/chat_with_streaming. Methods an older client lacks are skipped.error.typeonly and are re-raised unchanged. Streams end exactly once (exhaustion,aclose(), early exit or garbage collection).Release wiring: release-please config and manifest (0.1.0), the PyPI bootstrap list, the auto-instrumentation registry, a CI workflow (7.6.0 on Python 3.10, latest on 3.13, offline), and the docs tables.
Tests
Offline: real clients against a loopback HTTP stub.