mirror of https://github.com/dapr/dapr-agents.git
				
				
				
			
				
					
						
							* Refactor ChatClientBase: drop Pydantic inheritance and add typed generate() overloads Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com> * Align all LLM chat clients with refactored base and unified response models Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com> * Unify LLM utils across providers and delegate streaming/response to provider‑specific handlers Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com> * Refactor LLM pipeline: add HuggingFace tool calls, unify chat client/response types, and switch DurableAgent to loop‑based workflow Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com> * Refactor orchestrators with loops and unify LLM response handling using LLMChatResponse Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com> * test remaining quickstarts after all changes Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com> * run pytest after all changes Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com> * Run linting and formatting checks to ensure code quality Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com> * Update logging, Orchestrator Name and OTel module name Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com> --------- Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com> Co-authored-by: Yaron Schneider <schneider.yaron@live.com>  | 
			||
|---|---|---|
| .. | ||
| agents | ||
| document/embedder | ||
| llm | ||
| storage/vectorstores | ||
| workflow/orchestrators | ||
| README.md | ||
| __init__.py | ||
| conftest.py | ||
| test_signal_handlers.py | ||
		
			
				
				README.md
			
		
		
			
			
		
	
	Tests
Running Tests
Run all tests
pytest tests/ -v
Run tests with coverage
pytest tests/ -v --cov=dapr_agents --cov-report=term-missing --cov-report=html
Run specific test file
pytest tests/document/embedder/test_sentence.py -v
Run specific test class
pytest tests/document/embedder/test_sentence.py::TestSentenceTransformerEmbedder -v
Run specific test method
pytest tests/document/embedder/test_sentence.py::TestSentenceTransformerEmbedder::test_embedder_creation -v
Test Organization
Tests are organized by module/class functionality, and we try to mimic the folder structure of the repo.