Skip to content

feat: add API key support and model override for vLLM backend#106

Open
raymondzml wants to merge 1 commit into
antoinezambelli:mainfrom
raymondzml:main
Open

feat: add API key support and model override for vLLM backend#106
raymondzml wants to merge 1 commit into
antoinezambelli:mainfrom
raymondzml:main

Conversation

@raymondzml

Copy link
Copy Markdown

This PR adds:

  1. API Key Support: Added api_key parameter to VLLMClient for authentication with services like NVIDIA API

  2. Command Line Argument: Added --api-key argument to forge.proxy CLI

  3. Model Override Fix: When user specifies --model, use it instead of auto-discovering from backend. This fixes the issue where forge.proxy would ignore user-specified model and use auto-discovered model instead.

These changes enable forge.proxy to work correctly with NVIDIA API and other external LLM services.

Changes:
1. Added api_key parameter to VLLMClient for authentication with services like NVIDIA API
2. Added --api-key command line argument to forge.proxy
3. Fixed model override: when user specifies --model, use it instead of auto-discovering
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