-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(tools): switch PythonTool and CustomTool to HTTP API #195
Merged
Conversation
This file contains 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
markstur
force-pushed
the
python_http
branch
from
December 13, 2024 23:38
3650a74
to
0143054
Compare
markstur
changed the title
feat: add python code tool over http
feat!: add python code tool over http
Dec 14, 2024
Marking as draft because custom tool will also have to be updated. |
You could probably remove some of the grpc dependencies together with this PR -- IIRC we use gRPC in a different part of the codebase, but through a different library. |
JanPokorny
force-pushed
the
python_http
branch
2 times, most recently
from
January 9, 2025 09:56
0dbb546
to
ca2320a
Compare
JanPokorny
changed the title
feat!: add python code tool over http
feat(tools): switch PythonTool and CustomTool to HTTP API
Jan 9, 2025
JanPokorny
force-pushed
the
python_http
branch
2 times, most recently
from
January 9, 2025 10:23
bec147e
to
bdf6c43
Compare
Tomas2D
requested changes
Jan 9, 2025
JanPokorny
force-pushed
the
python_http
branch
from
January 10, 2025 09:45
4963eb3
to
8b4707e
Compare
* Keep the existing PythonTool over gRPC for now and add a similar tool to go over HTTP when we switch. * Add tests (written for gRPC but adapted for the new one). * The gRPC/HTTP versions coexist for now while our consumers (e.g. bee-api) make the switch. Signed-off-by: Mark Sturdevant <[email protected]>
Signed-off-by: Mark Sturdevant <[email protected]>
* Modify the existing PythonTool over gRPC to go over HTTP. * Add tests (written for gRPC but adapted for the new one). * Requires CODE_INTERPRETER_URL env var to point to exposed HTTP port (50081). BREAKING CHANGE: Requires exposed port and updated CODE_INTERPRETER_URL. Signed-off-by: Mark Sturdevant <[email protected]>
* Modify the existing CustomTool over gRPC to go over HTTP. * Add e2e tests. * Requires CODE_INTERPRETER_URL env var to point to exposed HTTP port (50081). BREAKING CHANGE: Requires exposed port and updated CODE_INTERPRETER_URL. Signed-off-by: Mark Sturdevant <[email protected]>
Signed-off-by: Mark Sturdevant <[email protected]>
Signed-off-by: Mark Sturdevant <[email protected]>
Signed-off-by: Mark Sturdevant <[email protected]>
Signed-off-by: Jan Pokorný <[email protected]>
Signed-off-by: Jan Pokorný <[email protected]>
Signed-off-by: Jan Pokorný <[email protected]>
Signed-off-by: Jan Pokorný <[email protected]>
Signed-off-by: Jan Pokorný <[email protected]>
Signed-off-by: Jan Pokorný <[email protected]>
Signed-off-by: Jan Pokorný <[email protected]>
Signed-off-by: Jan Pokorný <[email protected]>
Signed-off-by: Jan Pokorný <[email protected]>
Signed-off-by: Jan Pokorný <[email protected]>
Signed-off-by: Jan Pokorný <[email protected]>
Signed-off-by: Jan Pokorný <[email protected]>
JanPokorny
force-pushed
the
python_http
branch
from
January 10, 2025 10:21
ea4a19a
to
6ca0336
Compare
Tomas2D
approved these changes
Jan 10, 2025
Great work guys! 👍🏻 |
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.
Which issue(s) does this pull-request address?
Part of: #149
Description
Checklist
yarn lint
oryarn lint:fix
yarn format
oryarn format:fix
yarn test:unit
yarn test:e2e