Skip to content

Conversation

@hcsolakoglu
Copy link

This pull request introduces support for an IS_EMBEDDING configuration option to indicate when an embedding model is being used. This addition is reflected in the environment variable handling, the configuration UI, and the documentation.

Configuration and environment variable support:

  • Added IS_EMBEDDING as a new boolean environment variable in the start_server method in engine.py, allowing the server to recognize when it should operate in embedding model mode.

Configuration UI updates:

  • Added an IS_EMBEDDING option to the .runpod/hub.json configuration file, enabling users to set this flag via the UI when launching or configuring the service.

Documentation:

  • Updated the README.md to document the new IS_EMBEDDING environment variable, including its purpose and usage.

Copilot AI and others added 5 commits August 12, 2025 00:14
- Add IS_EMBEDDING to boolean_flags in engine.py
- Add UI configuration in .runpod/hub.json
- Document new variable in README.md
- Update .gitignore to exclude __pycache__

Co-authored-by: hcsolakoglu <[email protected]>
…-8b22-b45eba7e37b0

Add IS_EMBEDDING environment variable support for embedding models
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant