Skip to content

Commit fced99f

Browse files
committed
fix(lint): remove trailing spaces from YAML files
Remove trailing whitespace from all YAML/YML files to fix yamllint errors. Signed-off-by: szedan <[email protected]>
1 parent 7514b2f commit fced99f

File tree

16 files changed

+39
-39
lines changed

16 files changed

+39
-39
lines changed

.github/workflows/k8s-config-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
if [ -d "deploy/kubernetes/ai-gateway/semantic-router/observability" ]; then
7575
kustomize build deploy/kubernetes/ai-gateway/semantic-router/observability > /tmp/observability-manifests.yaml
7676
echo "✓ Observability kustomization is valid"
77-
77+
7878
# Verify expected resources
7979
for resource in "Deployment" "Service" "ConfigMap" "PersistentVolumeClaim"; do
8080
if ! grep -q "kind: $resource" /tmp/observability-manifests.yaml; then
@@ -99,7 +99,7 @@ jobs:
9999
kubectl create --dry-run=client -f "$yaml_file" || echo "Warning: Issues with $yaml_file"
100100
fi
101101
done
102-
102+
103103
# Validate inference-pool manifests (skip CRD validation as they may not be installed)
104104
for yaml_file in deploy/kubernetes/ai-gateway/semantic-router/ai-gateway/inference-pool/*.yaml; do
105105
if [ -f "$yaml_file" ]; then
@@ -108,7 +108,7 @@ jobs:
108108
kubectl create --dry-run=client -f "$yaml_file" 2>&1 | grep -q "no matches for kind" && echo "✓ $yaml_file syntax valid (CRD not installed)" || echo "Validated $yaml_file"
109109
fi
110110
done
111-
111+
112112
echo "✓ AI Gateway configuration validation completed"
113113
else
114114
echo "AI Gateway directory not found, skipping..."

.github/workflows/owner-notification.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
contents: read
1313
pull-requests: write
1414
issues: write
15-
15+
1616
steps:
1717
- name: Checkout code
1818
uses: actions/checkout@v4
@@ -36,11 +36,11 @@ jobs:
3636
script: |
3737
const fs = require('fs');
3838
const path = require('path');
39-
39+
4040
// Get changed files
4141
const changedFiles = `${{ steps.changed-files.outputs.all_changed_files }}`.split(' ');
4242
console.log('Changed files:', changedFiles);
43-
43+
4444
// Function to find OWNER file for a given file path
4545
function findOwnerFile(filePath) {
4646
const parts = filePath.split('/');
@@ -151,8 +151,8 @@ jobs:
151151
});
152152
153153
// Check if we already have an owner notification comment
154-
const existingComment = comments.find(comment =>
155-
comment.user.login === 'github-actions[bot]' &&
154+
const existingComment = comments.find(comment =>
155+
comment.user.login === 'github-actions[bot]' &&
156156
comment.body.includes('## 👥 vLLM Semantic Team Notification')
157157
);
158158

.github/workflows/publish-crate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
publish:
1111
runs-on: ubuntu-latest
12-
12+
1313
steps:
1414
- name: Check out the repo
1515
uses: actions/checkout@v4
@@ -65,7 +65,7 @@ jobs:
6565
CRATE_VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')
6666
TAG_VERSION="${{ steps.extract_tag.outputs.version }}"
6767
echo "Crate version: $CRATE_VERSION"
68-
echo "Tag version: $TAG_VERSION"
68+
echo "Tag version: $TAG_VERSION"
6969
if [ "$CRATE_VERSION" != "$TAG_VERSION" ]; then
7070
echo "::error::Crate version ($CRATE_VERSION) does not match tag version ($TAG_VERSION)"
7171
exit 1

config/config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ semantic_cache:
1414
use_hnsw: true # Enable HNSW index for faster similarity search
1515
hnsw_m: 16 # Number of bi-directional links (higher = better recall, more memory)
1616
hnsw_ef_construction: 200 # Construction parameter (higher = better quality, slower build)
17-
17+
1818
# Hybrid cache configuration (when backend_type: "hybrid")
1919
# Combines in-memory HNSW for fast search with Milvus for scalable storage
2020
# max_memory_entries: 100000 # Max entries in HNSW index (default: 100,000)
2121
# backend_config_path: "config/milvus.yaml" # Path to Milvus config
22-
22+
2323
# Embedding model for semantic similarity matching
2424
# Options: "bert" (fast, 384-dim), "qwen3" (high quality, 1024-dim, 32K context), "gemma" (balanced, 768-dim, 8K context)
2525
# Default: "bert" (fastest, lowest memory)
@@ -253,7 +253,7 @@ api:
253253

254254
# Embedding Models Configuration
255255
# These models provide intelligent embedding generation with automatic routing:
256-
# - Qwen3-Embedding-0.6B: Up to 32K context, high quality,
256+
# - Qwen3-Embedding-0.6B: Up to 32K context, high quality,
257257
# - EmbeddingGemma-300M: Up to 8K context, fast inference, Matryoshka support (768/512/256/128)
258258
embedding_models:
259259
qwen3_model_path: "models/Qwen3-Embedding-0.6B"

config/intelligent-routing/in-tree/bert_classification.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ semantic_cache:
1414
use_hnsw: true # Enable HNSW index for faster similarity search
1515
hnsw_m: 16 # Number of bi-directional links (higher = better recall, more memory)
1616
hnsw_ef_construction: 200 # Construction parameter (higher = better quality, slower build)
17-
17+
1818
# Hybrid cache configuration (when backend_type: "hybrid")
1919
# Combines in-memory HNSW for fast search with Milvus for scalable storage
2020
# max_memory_entries: 100000 # Max entries in HNSW index (default: 100,000)
2121
# backend_config_path: "config/milvus.yaml" # Path to Milvus config
22-
22+
2323
# Embedding model for semantic similarity matching
2424
# Options: "bert" (fast, 384-dim), "qwen3" (high quality, 1024-dim, 32K context), "gemma" (balanced, 768-dim, 8K context)
2525
# Default: "bert" (fastest, lowest memory)
@@ -253,7 +253,7 @@ api:
253253

254254
# Embedding Models Configuration
255255
# These models provide intelligent embedding generation with automatic routing:
256-
# - Qwen3-Embedding-0.6B: Up to 32K context, high quality,
256+
# - Qwen3-Embedding-0.6B: Up to 32K context, high quality,
257257
# - EmbeddingGemma-300M: Up to 8K context, fast inference, Matryoshka support (768/512/256/128)
258258
embedding_models:
259259
qwen3_model_path: "models/Qwen3-Embedding-0.6B"

config/intelligent-routing/in-tree/keyword.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ semantic_cache:
1414
use_hnsw: true # Enable HNSW index for faster similarity search
1515
hnsw_m: 16 # Number of bi-directional links (higher = better recall, more memory)
1616
hnsw_ef_construction: 200 # Construction parameter (higher = better quality, slower build)
17-
17+
1818
# Hybrid cache configuration (when backend_type: "hybrid")
1919
# Combines in-memory HNSW for fast search with Milvus for scalable storage
2020
# max_memory_entries: 100000 # Max entries in HNSW index (default: 100,000)
2121
# backend_config_path: "config/milvus.yaml" # Path to Milvus config
22-
22+
2323
# Embedding model for semantic similarity matching
2424
# Options: "bert" (fast, 384-dim), "qwen3" (high quality, 1024-dim, 32K context), "gemma" (balanced, 768-dim, 8K context)
2525
# Default: "bert" (fastest, lowest memory)
@@ -299,7 +299,7 @@ api:
299299

300300
# Embedding Models Configuration
301301
# These models provide intelligent embedding generation with automatic routing:
302-
# - Qwen3-Embedding-0.6B: Up to 32K context, high quality,
302+
# - Qwen3-Embedding-0.6B: Up to 32K context, high quality,
303303
# - EmbeddingGemma-300M: Up to 8K context, fast inference, Matryoshka support (768/512/256/128)
304304
embedding_models:
305305
qwen3_model_path: "models/Qwen3-Embedding-0.6B"

config/intelligent-routing/out-tree/config-mcp-classifier.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ classifier:
2929
enabled: true # Enable MCP classifier
3030
transport_type: "http" # HTTP transport
3131
url: "http://localhost:8090/mcp" # MCP server endpoint
32-
32+
3333
# tool_name: Optional - auto-discovers classification tool if not specified
3434
# Will search for tools like: classify_text, classify, categorize, etc.
3535
# Uncomment to explicitly specify:
3636
# tool_name: "classify_text"
37-
37+
3838
threshold: 0.6 # Confidence threshold
3939
timeout_seconds: 30 # Request timeout
4040

4141
# Categories for routing queries
42-
#
42+
#
4343
# Categories are automatically loaded from MCP server via 'list_categories' tool.
4444
# The MCP server controls BOTH classification AND routing decisions.
4545
#

config/prompt-guard/pii_domain.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ classifier:
99
threshold: 0.7 # Global default threshold - can be overridden per category
1010
use_cpu: true
1111
pii_mapping_path: "models/pii_classifier_modernbert-base_model/pii_type_mapping.json"
12-
12+
1313
category_model:
1414
model_id: "models/category_classifier_modernbert-base_model"
1515
use_modernbert: true
@@ -104,7 +104,7 @@ model_config:
104104
pii_types_allowed:
105105
- "GPE" # Geopolitical entities (cities, countries) are OK
106106
- "ORGANIZATION" # Organization names are OK
107-
107+
108108
"general-llm":
109109
preferred_endpoints: ["general-endpoint"]
110110
pii_policy:
@@ -119,7 +119,7 @@ vllm_endpoints:
119119
address: "127.0.0.1"
120120
port: 8000
121121
weight: 1
122-
122+
123123
- name: "general-endpoint"
124124
address: "127.0.0.1"
125125
port: 8001

config/semantic-cache/config.hybrid.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ semantic_cache:
88
backend_type: "hybrid" # Hybrid HNSW + Milvus backend
99
similarity_threshold: 0.85
1010
ttl_seconds: 3600
11-
11+
1212
# Hybrid cache specific settings
1313
max_memory_entries: 100000 # Max entries in HNSW index (100K)
14-
14+
1515
# HNSW parameters
1616
hnsw_m: 16 # Number of bi-directional links
1717
hnsw_ef_construction: 200 # Construction quality parameter
18-
18+
1919
# Milvus configuration file path
2020
backend_config_path: "config/semantic-cache/milvus.yaml"
2121

deploy/kubernetes/istio/config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ semantic_cache:
1212
eviction_policy: "fifo"
1313
# Embedding model for semantic similarity matching
1414
# Options: "bert" (fast, 384-dim), "qwen3" (high quality, 1024-dim, 32K context), "gemma" (balanced, 768-dim, 8K context)
15-
embedding_model: "bert" # Default: BERT (fastest, lowest memory for Kubernetes)
15+
embedding_model: "bert" # Default: BERT (fastest, lowest memory for Kubernetes)
1616

1717
tools:
1818
enabled: false
@@ -77,10 +77,10 @@ categories:
7777
# jailbreak_enabled: true # Optional: Override global jailbreak detection per category
7878
# jailbreak_threshold: 0.8 # Optional: Override global jailbreak threshold per category
7979
model_scores:
80-
- model: llama3-8b
80+
- model: llama3-8b
8181
score: 0.8
8282
use_reasoning: false # Business performs better without reasoning
83-
- model: phi4-mini
83+
- model: phi4-mini
8484
score: 0.3
8585
use_reasoning: false # Business performs better without reasoning
8686
- name: law
@@ -205,7 +205,7 @@ reasoning_families:
205205
default_reasoning_effort: high
206206

207207
# Gateway route cache clearing
208-
clear_route_cache: true # Enable for some gateways such as Istio
208+
clear_route_cache: true # Enable for some gateways such as Istio
209209

210210
# API Configuration
211211
api:

0 commit comments

Comments
 (0)