Add generic Dynamo agent proxy#3
Open
Aphoh wants to merge 1 commit into
Open
Conversation
a290f1f to
7e80960
Compare
Signed-off-by: William Arnold <7565007+Aphoh@users.noreply.github.com>
7e80960 to
35848b7
Compare
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
dynamo-agent-proxypackage installable withuv pip installfrom this repositorynvext.agent_context/nvext.agent_hintsfor OpenAI/v1/chat/completionsand/v1/responsespassthrough requests/v1/messagescompatibility by translating requests to Dynamo/v1/chat/completionsand translating non-streaming/streaming responses back to Anthropic shapesnvextfields while making proxy-provided context and hint keys authoritativeReview notes
subprocess,eval,exec,os.system,pickle,ctypes, and temp-file creation; none are usedTest plan
PYTHONPATH=python python3 -m unittest discover -s test/pythonpython3 -m py_compile python/dynamo_agent_proxy/proxy.py python/dynamo_agent_proxy/__init__.py python/dynamo_agent_proxy/__main__.py test/python/test_agent_proxy.pypython3 -m pip wheel . --no-deps --no-build-isolation -w /tmp/dynamo-agent-proxy-wheel-reviewdynamo-agent-proxy --helpnpm run checknpm testnpm run build