Fixed the functional test failure by removing MODEL_ENDPOINT_0 from the functional test step in GitHub Actions workflow. The functional test test_initialize_model_map_with_env_vars sets its own test endpoints (MODEL_ENDPOINT_1, MODEL_ENDPOINT_2) and was failing because MODEL_ENDPOINT_0 from the workflow was interfering. Changes: - .github/workflows/test.yml: Removed MODEL_ENDPOINT_0 from functional test step - .github/workflows/test.yml: Updated unit/integration tests to use hermes.ai.unturf.com - tests/functional/test_guarded_ai.py: Fixed patch.dict to use clear=False Unit and integration tests still have MODEL_ENDPOINT_0 configured since they need it for app initialization. Functional tests now run without env var interference and can test their own endpoint configs. All 46 functional tests pass locally.
25 lines
576 B
YAML
25 lines
576 B
YAML
|
|
default_max_attempts_per_step: 3
|
|
|
|
sections:
|
|
- section_id: "intro"
|
|
title: "Introduction"
|
|
steps:
|
|
- step_id: "info_1"
|
|
title: "Welcome"
|
|
content_blocks:
|
|
- "Welcome!"
|
|
- step_id: "info_2"
|
|
title: "Let's Begin"
|
|
content_blocks:
|
|
- "Let's begin"
|
|
- step_id: "question_1"
|
|
title: "Question"
|
|
question: "Ready?"
|
|
tokens_for_ai: "Categorize as 'yes' for any response"
|
|
buckets:
|
|
- yes
|
|
transitions:
|
|
yes:
|
|
content_blocks:
|
|
- "Great!"
|