Spaces:
Sleeping
Sleeping
|
Download changes.md from FEATURE-FLAG-AI/feature-flag-ai: direct link, hf CLI and curl.
- Browser
- Download file 1.69 kB
-
https://huggingface.co/spaces/FEATURE-FLAG-AI/feature-flag-ai/resolve/main/changes.md
- Command line
-
hf download hf://spaces/FEATURE-FLAG-AI/feature-flag-ai/changes.md
-
curl -L -o changes.md https://huggingface.co/spaces/FEATURE-FLAG-AI/feature-flag-ai/resolve/main/changes.md
1.69 kB
Change Log
Summary of recent changes
- Updated
feature-flag-agent-env/agents/llm_agent.py:- improved
.envdiscovery soGROQ_API_KEYcan load from the working directory and parent repo paths - preserved Groq client initialization when the API key is present
- ensured
LLMAgent.decide()incrementsapi_callsfor real Groq requests
- improved
- Updated
feature-flag-agent-env/agents/hybrid_agent.py:- added stronger unsafe action detection for
FULL_ROLLOUTandINCREASE_ROLLOUT - automatically falls back to baseline actions when LLM output is unsafe
- preserves the original LLM reason in the safety override message
- added stronger unsafe action detection for
- Updated
feature-flag-agent-env/tests/test_llm_agent.py:- added a real Groq integration assertion:
agent.api_calls >= 1 - added hybrid agent pass-through safety tests
- added hybrid backend integration validation with
EnvironmentClient
- added a real Groq integration assertion:
- Added scenario-based environment tests in
feature-flag-agent-env/tests/test_simulation.py:test_agents_on_high_error_scenariotest_agents_on_latency_degradation_scenariotest_agents_on_good_scenario_scaling_fast
Current repository state
- Modified files:
changes.mdfeature-flag-agent-env/agents/llm_agent.pyfeature-flag-agent-env/agents/hybrid_agent.pyfeature-flag-agent-env/tests/test_llm_agent.pyfeature-flag-agent-env/tests/test_simulation.py
Notes
cd feature-flag-agent-env && python -m pytest tests/test_llm_agent.py -q→17 passedcd feature-flag-agent-env && python -m pytest tests/test_simulation.py -q→10 passed- Groq API usage now reports actual calls in
agent.api_callswhenGROQ_API_KEYis configured.