V10.538 對齊 ai_calls ollama_other provider
All checks were successful
CD Pipeline / deploy (push) Successful in 1m6s
All checks were successful
CD Pipeline / deploy (push) Successful in 1m6s
This commit is contained in:
@@ -65,6 +65,15 @@ def test_host_health_probe_label_check_accepts_runtime_labels():
|
||||
assert f"'{label}'" in migration
|
||||
|
||||
|
||||
def test_ai_calls_provider_check_accepts_ollama_other_telemetry_bucket():
|
||||
migration = (ROOT / "migrations" / "043_allow_ollama_other_ai_calls_provider.sql").read_text(encoding="utf-8")
|
||||
|
||||
assert "DROP CONSTRAINT IF EXISTS chk_ai_calls_provider" in migration
|
||||
assert "ADD CONSTRAINT chk_ai_calls_provider" in migration
|
||||
assert "'ollama_other'" in migration
|
||||
assert "NOT VALID" in migration
|
||||
|
||||
|
||||
def test_rag_embedding_signature_migration_covers_query_and_learning_tables():
|
||||
migration = (ROOT / "migrations" / "034_add_embedding_signature_to_rag_tables.sql").read_text(encoding="utf-8")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user