-
Notifications
You must be signed in to change notification settings - Fork 76
Local Dockerised Eval Server #52
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
2a8a461
Skipping secret key verification in automated mode
olesho e9a4af4
Initial refactoring of LLM config
olesho 700d1a9
Added plan
olesho 7ec8302
Fix the build issues
olesho ce6b75f
Extra configs for automated mode
olesho 7724f65
Fix syntax
olesho 4cda0cd
Bypass key verification for chat panel in automated mode
olesho 78b020b
Updated package-lock.json
olesho 1ab0393
Extra verifications skipped
olesho 855fb9a
1. ✓ Added skipCredentialChecks parameter to validateConfiguration()
olesho d588841
Refactoring and improvements; specifically removed the double overrid…
olesho 38b725c
Merged version
olesho c585f1d
Resolve merge conflicts in AI Chat configuration management
olesho ff99a7d
Refactor documentation and use nested API schema
olesho e8b37a3
The current validation forces provider and models.main even when part…
olesho 3aaef1e
Allow partial config for eval-server
olesho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # Evaluation Server Configuration | ||
| # Copy this file to .env and configure your settings | ||
|
|
||
| # Server Configuration | ||
| PORT=8080 | ||
| HOST=127.0.0.1 | ||
|
|
||
| # LLM Provider API Keys | ||
| # Configure one or more providers for evaluation | ||
|
|
||
| # OpenAI Configuration | ||
| OPENAI_API_KEY=sk-your-openai-api-key-here | ||
|
|
||
| # LiteLLM Configuration (if using a LiteLLM server) | ||
| LITELLM_ENDPOINT=http://localhost:4000 | ||
| LITELLM_API_KEY=your-litellm-api-key-here | ||
|
|
||
| # Groq Configuration | ||
| GROQ_API_KEY=gsk_your-groq-api-key-here | ||
|
|
||
| # OpenRouter Configuration | ||
| OPENROUTER_API_KEY=sk-or-v1-your-openrouter-api-key-here | ||
|
|
||
| # Default LLM Configuration for Evaluations | ||
| # These will be used as fallbacks when not specified in evaluation requests | ||
| DEFAULT_PROVIDER=openai | ||
| DEFAULT_MAIN_MODEL=gpt-4 | ||
| DEFAULT_MINI_MODEL=gpt-4-mini | ||
| DEFAULT_NANO_MODEL=gpt-3.5-turbo | ||
|
|
||
| # Logging Configuration | ||
| LOG_LEVEL=info | ||
| LOG_DIR=./logs | ||
|
|
||
| # Client Configuration | ||
| CLIENTS_DIR=./clients | ||
| EVALS_DIR=./evals | ||
|
|
||
| # RPC Configuration | ||
| RPC_TIMEOUT=30000 | ||
|
|
||
| # Security | ||
| # Set this to enable authentication for client connections | ||
| # Leave empty to disable authentication | ||
| AUTH_SECRET_KEY= | ||
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick
Address dotenv-linter warnings (ordering + trailing newline).
Reorder keys and add final newline for cleanliness. Functionality unaffected.
Apply this diff:
Also applies to: 15-16, 27-29, 33-34, 45-45
🧰 Tools
🪛 dotenv-linter (3.3.0)
[warning] 6-6: [UnorderedKey] The HOST key should go before the PORT key
(UnorderedKey)
🤖 Prompt for AI Agents