Add support for fixed pipeline ID via environment variable#5
Merged
nicoloboschi merged 3 commits intomainfrom Mar 28, 2025
Merged
Conversation
Co-Authored-By: nicolo.boschi@vectorize.io <nicolo.boschi@vectorize.io>
Co-Authored-By: nicolo.boschi@vectorize.io <nicolo.boschi@vectorize.io>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for a fixed pipeline ID by allowing users to configure the environment variable VECTORIZE_PIPELINE_ID, enabling the server to use a pre-set pipeline ID rather than requiring it with each request.
- Updates the required parameters for tools in the server based on the presence of VECTORIZE_PIPELINE_ID.
- Logs a configuration message when a fixed pipeline ID is used.
- Updates documentation in README.md to reflect the new environment variable setup.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/index.ts | Conditional adjustments in required fields and logging of PIPELINE_ID, affecting how pipeline IDs are passed to tool functions. |
| README.md | Updated documentation with instructions on setting the VECTORIZE_PIPELINE_ID environment variable. |
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.
This PR adds support for setting a fixed pipeline ID via the VECTORIZE_PIPELINE_ID environment variable.
This change allows users to set the pipeline ID once in their environment instead of having to provide it with each request, while maintaining backward compatibility.
Link to Devin run: https://app.devin.ai/sessions/14a808ba3cd146b9a843963caf800778
Requested by: nicolo.boschi@vectorize.io