test: 삭제된 심볼 참조 정리 (session_id, rag-v1→v4, cache_capacity) — worker cargo check가 test 타깃 미컴파일로 누락

This commit is contained in:
2026-06-24 10:11:13 +00:00
parent 4314e503c2
commit 0af9d58c95
6 changed files with 3 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ rrf_k = 60
snippet_chars = 220
[rag]
prompt_template_version = "rag-v1"
prompt_template_version = "rag-v4"
score_gate = 0.30
explain_default = false
max_context_tokens = 8000

View File

@@ -65,7 +65,7 @@ rrf_k = 60
snippet_chars = 220
[rag]
prompt_template_version = "rag-v1"
prompt_template_version = "rag-v4"
score_gate = 0.30
explain_default = false
max_context_tokens = 8000

View File

@@ -90,7 +90,7 @@ snippet_chars = 220
stale_threshold_days = {stale_threshold_days}
[rag]
prompt_template_version = "rag-v1"
prompt_template_version = "rag-v4"
score_gate = 0.30
explain_default = false
max_context_tokens = 8000

View File

@@ -81,7 +81,6 @@ default_k = 10
hybrid_fusion = "rrf"
rrf_k = 60
snippet_chars = 220
cache_capacity = 256
stale_threshold_days = 30
[rag]

View File

@@ -48,7 +48,6 @@ async fn ask_tool_returns_answer_v1_with_refusal_on_empty_kb() {
&state_clone,
kebab_mcp::tools::ask::AskInput {
query: "what is the meaning of life".to_string(),
session_id: None,
// Test env uses provider="none" — Hybrid would hard-error on embedding.
// Pass Lexical explicitly so the test stays functional.
mode: Some("lexical".to_string()),

View File

@@ -103,7 +103,6 @@ async fn ask_tool_routes_multi_hop_true_to_decompose_first() {
&state_mh,
kebab_mcp::tools::ask::AskInput {
query: "compound about X and Y".to_string(),
session_id: None,
mode: Some("lexical".to_string()),
multi_hop: Some(true),
},
@@ -138,7 +137,6 @@ async fn ask_tool_routes_multi_hop_true_to_decompose_first() {
&state_sp,
kebab_mcp::tools::ask::AskInput {
query: "anything".to_string(),
session_id: None,
mode: Some("lexical".to_string()),
multi_hop: Some(false),
},
@@ -189,7 +187,6 @@ async fn ask_tool_multi_hop_short_circuits_when_probe_empty() {
&state_mh,
kebab_mcp::tools::ask::AskInput {
query: "compound about X and Y".to_string(),
session_id: None,
mode: Some("lexical".to_string()),
multi_hop: Some(true),
},