Spaces:
Running
Running
Joseph Pollack
commited on
Commit
·
f73c49f
1
Parent(s):
7b7ce7e
adds improvements
Browse files- AUDIO_INPUT_FIX.md +1 -0
- ERROR_FIXES_SUMMARY.md +1 -0
- FILE_OUTPUT_IMPLEMENTATION_PLAN.md +1 -0
- FILE_OUTPUT_VERIFICATION.md +1 -0
- MULTIMODAL_SETTINGS_IMPLEMENTATION_PLAN.md +1 -0
- MULTIMODAL_SETTINGS_IMPLEMENTATION_SUMMARY.md +1 -0
- README.md +0 -3
- REPORT_WRITING_AGENTS_ANALYSIS.md +1 -0
- SERPER_WEBSEARCH_IMPLEMENTATION_PLAN.md +1 -0
- dev/__init__.py +1 -0
- docs/api/agents.md +1 -0
- docs/api/models.md +1 -0
- docs/api/services.md +1 -0
- docs/api/tools.md +1 -0
- docs/architecture/agents.md +1 -0
- docs/contributing/code-quality.md +1 -0
- docs/contributing/code-style.md +1 -0
- docs/contributing/error-handling.md +1 -0
- docs/contributing/implementation-patterns.md +1 -0
- docs/contributing/index.md +1 -0
- docs/contributing/prompt-engineering.md +1 -0
- docs/contributing/testing.md +1 -0
- docs/getting-started/installation.md +1 -0
- docs/implementation/IMPLEMENTATION_SUMMARY.md +1 -0
- docs/implementation/TTS_MODAL_IMPLEMENTATION.md +1 -0
- docs/license.md +1 -0
- docs/team.md +1 -0
- new_env.txt +1 -0
- src/middleware/state_machine.py +1 -0
- src/services/report_file_service.py +1 -0
- src/tools/searchxng_web_search.py +1 -0
- src/tools/serper_web_search.py +1 -0
- src/tools/vendored/crawl_website.py +1 -0
- src/tools/vendored/searchxng_client.py +1 -0
- src/tools/vendored/serper_client.py +1 -0
- src/tools/vendored/web_search_core.py +1 -0
- src/tools/web_search_factory.py +1 -0
- tests/unit/middleware/test_budget_tracker_phase7.py +1 -0
- tests/unit/middleware/test_state_machine.py +1 -0
- tests/unit/middleware/test_workflow_manager.py +1 -0
AUDIO_INPUT_FIX.md
CHANGED
|
@@ -88,3 +88,4 @@ If audio input still doesn't appear:
|
|
| 88 |
- If it's still not visible, it might be in a dropdown menu (click the "+" or "..." button)
|
| 89 |
- The `file_types` parameter ensures audio files are accepted for upload
|
| 90 |
|
|
|
|
|
|
| 88 |
- If it's still not visible, it might be in a dropdown menu (click the "+" or "..." button)
|
| 89 |
- The `file_types` parameter ensures audio files are accepted for upload
|
| 90 |
|
| 91 |
+
|
ERROR_FIXES_SUMMARY.md
CHANGED
|
@@ -150,3 +150,4 @@ Some MCP tools use `gr.State` inputs, which Gradio warns won't update between to
|
|
| 150 |
3. Consider adding unit tests for tuple handling edge cases
|
| 151 |
4. Document the tuple format handling for future reference
|
| 152 |
|
|
|
|
|
|
| 150 |
3. Consider adding unit tests for tuple handling edge cases
|
| 151 |
4. Document the tuple format handling for future reference
|
| 152 |
|
| 153 |
+
|
FILE_OUTPUT_IMPLEMENTATION_PLAN.md
CHANGED
|
@@ -235,3 +235,4 @@ Current implementation in `event_to_chat_message()` already handles this correct
|
|
| 235 |
|
| 236 |
|
| 237 |
|
|
|
|
|
|
| 235 |
|
| 236 |
|
| 237 |
|
| 238 |
+
|
FILE_OUTPUT_VERIFICATION.md
CHANGED
|
@@ -218,3 +218,4 @@ The implementation is:
|
|
| 218 |
|
| 219 |
No reimplementation needed. All changes are present and correct.
|
| 220 |
|
|
|
|
|
|
| 218 |
|
| 219 |
No reimplementation needed. All changes are present and correct.
|
| 220 |
|
| 221 |
+
|
MULTIMODAL_SETTINGS_IMPLEMENTATION_PLAN.md
CHANGED
|
@@ -380,3 +380,4 @@ result["content"] = f"{content}\n\n{file_links}"
|
|
| 380 |
- ✅ Settings are well-organized and intuitive
|
| 381 |
- ✅ No regressions in existing functionality
|
| 382 |
|
|
|
|
|
|
| 380 |
- ✅ Settings are well-organized and intuitive
|
| 381 |
- ✅ No regressions in existing functionality
|
| 382 |
|
| 383 |
+
|
MULTIMODAL_SETTINGS_IMPLEMENTATION_SUMMARY.md
CHANGED
|
@@ -151,3 +151,4 @@
|
|
| 151 |
4. **Advanced File Rendering**: Use Gradio File component for better file handling
|
| 152 |
5. **Error Handling**: Add better error messages for failed file operations
|
| 153 |
|
|
|
|
|
|
| 151 |
4. **Advanced File Rendering**: Use Gradio File component for better file handling
|
| 152 |
5. **Error Handling**: Add better error messages for failed file operations
|
| 153 |
|
| 154 |
+
|
README.md
CHANGED
|
@@ -85,7 +85,6 @@ For this hackathon we're proposing a simple yet powerful Deep Research Agent tha
|
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
-
|
| 89 |
|
| 90 |
## Important information
|
| 91 |
|
|
@@ -119,9 +118,7 @@ For this hackathon we're proposing a simple yet powerful Deep Research Agent tha
|
|
| 119 |
|
| 120 |
### Team
|
| 121 |
- **ZJ**
|
| 122 |
-
- 🤗 [HuggingFace](https://huggingface.co/Tonic)
|
| 123 |
- 💼 [LinkedIn](https://www.linkedin.com/in/josephpollack/)
|
| 124 |
-
- 𝕏 [X](https://x.com/josephpollack)
|
| 125 |
- **Mario Aderman**
|
| 126 |
- 🤗 [HuggingFace](https://huggingface.co/SeasonalFall84)
|
| 127 |
- 💼 [LinkedIn](https://www.linkedin.com/in/mario-aderman/)
|
|
|
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
|
|
|
| 88 |
|
| 89 |
## Important information
|
| 90 |
|
|
|
|
| 118 |
|
| 119 |
### Team
|
| 120 |
- **ZJ**
|
|
|
|
| 121 |
- 💼 [LinkedIn](https://www.linkedin.com/in/josephpollack/)
|
|
|
|
| 122 |
- **Mario Aderman**
|
| 123 |
- 🤗 [HuggingFace](https://huggingface.co/SeasonalFall84)
|
| 124 |
- 💼 [LinkedIn](https://www.linkedin.com/in/mario-aderman/)
|
REPORT_WRITING_AGENTS_ANALYSIS.md
CHANGED
|
@@ -183,3 +183,4 @@ The infrastructure to handle file outputs in Gradio is in place, but the agents
|
|
| 183 |
|
| 184 |
|
| 185 |
|
|
|
|
|
|
| 183 |
|
| 184 |
|
| 185 |
|
| 186 |
+
|
SERPER_WEBSEARCH_IMPLEMENTATION_PLAN.md
CHANGED
|
@@ -397,3 +397,4 @@ This plan details the implementation of SERPER-based web search by vendoring cod
|
|
| 397 |
|
| 398 |
|
| 399 |
|
|
|
|
|
|
| 397 |
|
| 398 |
|
| 399 |
|
| 400 |
+
|
dev/__init__.py
CHANGED
|
@@ -1 +1,2 @@
|
|
| 1 |
"""Development utilities and plugins."""
|
|
|
|
|
|
| 1 |
"""Development utilities and plugins."""
|
| 2 |
+
|
docs/api/agents.md
CHANGED
|
@@ -269,3 +269,4 @@ def create_input_parser_agent(model: Any | None = None) -> InputParserAgent
|
|
| 269 |
|
| 270 |
|
| 271 |
|
|
|
|
|
|
| 269 |
|
| 270 |
|
| 271 |
|
| 272 |
+
|
docs/api/models.md
CHANGED
|
@@ -247,3 +247,4 @@ class BudgetStatus(BaseModel):
|
|
| 247 |
|
| 248 |
|
| 249 |
|
|
|
|
|
|
| 247 |
|
| 248 |
|
| 249 |
|
| 250 |
+
|
docs/api/services.md
CHANGED
|
@@ -204,5 +204,6 @@ Analyzes a hypothesis using statistical methods.
|
|
| 204 |
|
| 205 |
|
| 206 |
|
|
|
|
| 207 |
|
| 208 |
|
|
|
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
+
|
| 208 |
|
| 209 |
|
docs/api/tools.md
CHANGED
|
@@ -234,3 +234,4 @@ Searches multiple tools in parallel.
|
|
| 234 |
|
| 235 |
|
| 236 |
|
|
|
|
|
|
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
+
|
docs/architecture/agents.md
CHANGED
|
@@ -191,3 +191,4 @@ Factory functions:
|
|
| 191 |
|
| 192 |
|
| 193 |
|
|
|
|
|
|
| 191 |
|
| 192 |
|
| 193 |
|
| 194 |
+
|
docs/contributing/code-quality.md
CHANGED
|
@@ -80,3 +80,4 @@ async def search(self, query: str, max_results: int = 10) -> list[Evidence]:
|
|
| 80 |
|
| 81 |
|
| 82 |
|
|
|
|
|
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
+
|
docs/contributing/code-style.md
CHANGED
|
@@ -60,3 +60,4 @@ result = await loop.run_in_executor(None, cpu_bound_function, args)
|
|
| 60 |
|
| 61 |
|
| 62 |
|
|
|
|
|
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
+
|
docs/contributing/error-handling.md
CHANGED
|
@@ -68,3 +68,4 @@ except httpx.HTTPError as e:
|
|
| 68 |
|
| 69 |
|
| 70 |
|
|
|
|
|
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
+
|
docs/contributing/implementation-patterns.md
CHANGED
|
@@ -83,3 +83,4 @@ def get_embedding_service() -> EmbeddingService:
|
|
| 83 |
|
| 84 |
|
| 85 |
|
|
|
|
|
|
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
+
|
docs/contributing/index.md
CHANGED
|
@@ -162,3 +162,4 @@ Thank you for contributing to DeepCritical!
|
|
| 162 |
|
| 163 |
|
| 164 |
|
|
|
|
|
|
| 162 |
|
| 163 |
|
| 164 |
|
| 165 |
+
|
docs/contributing/prompt-engineering.md
CHANGED
|
@@ -68,3 +68,4 @@ This document outlines prompt engineering guidelines and citation validation rul
|
|
| 68 |
|
| 69 |
|
| 70 |
|
|
|
|
|
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
+
|
docs/contributing/testing.md
CHANGED
|
@@ -72,3 +72,4 @@ async def test_real_pubmed_search():
|
|
| 72 |
|
| 73 |
=======
|
| 74 |
>>>>>>> Stashed changes
|
|
|
|
|
|
| 72 |
|
| 73 |
=======
|
| 74 |
>>>>>>> Stashed changes
|
| 75 |
+
|
docs/getting-started/installation.md
CHANGED
|
@@ -155,3 +155,4 @@ uv run pre-commit install
|
|
| 155 |
|
| 156 |
=======
|
| 157 |
>>>>>>> Stashed changes
|
|
|
|
|
|
| 155 |
|
| 156 |
=======
|
| 157 |
>>>>>>> Stashed changes
|
| 158 |
+
|
docs/implementation/IMPLEMENTATION_SUMMARY.md
CHANGED
|
@@ -182,3 +182,4 @@ Located in `src/app.py` lines 667-712:
|
|
| 182 |
|
| 183 |
|
| 184 |
|
|
|
|
|
|
| 182 |
|
| 183 |
|
| 184 |
|
| 185 |
+
|
docs/implementation/TTS_MODAL_IMPLEMENTATION.md
CHANGED
|
@@ -136,3 +136,4 @@ To test TTS:
|
|
| 136 |
|
| 137 |
|
| 138 |
|
|
|
|
|
|
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
+
|
docs/license.md
CHANGED
|
@@ -38,3 +38,4 @@ SOFTWARE.
|
|
| 38 |
|
| 39 |
|
| 40 |
|
|
|
|
|
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
+
|
docs/team.md
CHANGED
|
@@ -43,3 +43,4 @@ We welcome contributions! See the [Contributing Guide](contributing/index.md) fo
|
|
| 43 |
|
| 44 |
|
| 45 |
|
|
|
|
|
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
+
|
new_env.txt
CHANGED
|
@@ -98,3 +98,4 @@ MODAL_TOKEN_SECRET=your_modal_token_secret_here
|
|
| 98 |
|
| 99 |
|
| 100 |
|
|
|
|
|
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
+
|
src/middleware/state_machine.py
CHANGED
|
@@ -132,3 +132,4 @@ def get_workflow_state() -> WorkflowState:
|
|
| 132 |
|
| 133 |
|
| 134 |
|
|
|
|
|
|
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
+
|
src/services/report_file_service.py
CHANGED
|
@@ -267,3 +267,4 @@ def get_report_file_service() -> ReportFileService:
|
|
| 267 |
|
| 268 |
|
| 269 |
|
|
|
|
|
|
| 267 |
|
| 268 |
|
| 269 |
|
| 270 |
+
|
src/tools/searchxng_web_search.py
CHANGED
|
@@ -120,3 +120,4 @@ class SearchXNGWebSearchTool:
|
|
| 120 |
|
| 121 |
|
| 122 |
|
|
|
|
|
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
+
|
src/tools/serper_web_search.py
CHANGED
|
@@ -120,3 +120,4 @@ class SerperWebSearchTool:
|
|
| 120 |
|
| 121 |
|
| 122 |
|
|
|
|
|
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
+
|
src/tools/vendored/crawl_website.py
CHANGED
|
@@ -125,3 +125,4 @@ async def crawl_website(starting_url: str) -> list[ScrapeResult] | str:
|
|
| 125 |
# Use scrape_urls to get the content for all discovered pages
|
| 126 |
result = await scrape_urls(pages_to_scrape_snippets)
|
| 127 |
return result
|
|
|
|
|
|
| 125 |
# Use scrape_urls to get the content for all discovered pages
|
| 126 |
result = await scrape_urls(pages_to_scrape_snippets)
|
| 127 |
return result
|
| 128 |
+
|
src/tools/vendored/searchxng_client.py
CHANGED
|
@@ -99,3 +99,4 @@ class SearchXNGClient:
|
|
| 99 |
|
| 100 |
|
| 101 |
|
|
|
|
|
|
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
+
|
src/tools/vendored/serper_client.py
CHANGED
|
@@ -95,3 +95,4 @@ class SerperClient:
|
|
| 95 |
|
| 96 |
|
| 97 |
|
|
|
|
|
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
+
|
src/tools/vendored/web_search_core.py
CHANGED
|
@@ -206,3 +206,4 @@ def is_valid_url(url: str) -> bool:
|
|
| 206 |
|
| 207 |
|
| 208 |
|
|
|
|
|
|
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
+
|
src/tools/web_search_factory.py
CHANGED
|
@@ -74,3 +74,4 @@ def create_web_search_tool() -> SearchTool | None:
|
|
| 74 |
|
| 75 |
|
| 76 |
|
|
|
|
|
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
+
|
tests/unit/middleware/test_budget_tracker_phase7.py
CHANGED
|
@@ -176,3 +176,4 @@ class TestIterationTokenTracking:
|
|
| 176 |
|
| 177 |
|
| 178 |
|
|
|
|
|
|
| 176 |
|
| 177 |
|
| 178 |
|
| 179 |
+
|
tests/unit/middleware/test_state_machine.py
CHANGED
|
@@ -373,3 +373,4 @@ class TestContextVarIsolation:
|
|
| 373 |
|
| 374 |
|
| 375 |
|
|
|
|
|
|
| 373 |
|
| 374 |
|
| 375 |
|
| 376 |
+
|
tests/unit/middleware/test_workflow_manager.py
CHANGED
|
@@ -303,3 +303,4 @@ class TestWorkflowManager:
|
|
| 303 |
|
| 304 |
|
| 305 |
|
|
|
|
|
|
| 303 |
|
| 304 |
|
| 305 |
|
| 306 |
+
|