|
Ran
|
Jobs
1
|
Files
236
|
Run time
1min
|
Badge
README BADGES
|
push
github
feat: Update tools param to Optional[Union[list[Union[Tool, Toolset]], Toolset]] (#9886) * Update tools param to Optional[Union[list[Union[Tool, Toolset]], Toolset]] * Exclude tools from schema generation * Different approach * Lint * Use ToolsType * Fixes * Reno note * Update haystack/tools/utils.py Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com> * Update haystack/tools/serde_utils.py Co-authored-by: tstadel <60758086+tstadel@users.noreply.github.com> * Revert "Update haystack/tools/utils.py" This reverts commit ebdec9115. * PR feedback * Improve serde tests * Update releasenotes/notes/mixed-tools-toolsets-support-d944c5770e2e6e7b.yaml Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com> * Pydoc polish * Update FallbackChatGenerator for new ToolsType --------- Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com> Co-authored-by: tstadel <60758086+tstadel@users.noreply.github.com>
13382 of 14511 relevant lines covered (92.22%)
0.92 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
96.47 |
-1.18% | tools/tool.py |
| 3 |
93.02 |
-4.2% | tools/serde_utils.py |
| 4 |
93.55 |
0.0% | components/generators/chat/azure.py |
| 4 |
95.4 |
0.74% | tools/parameters_schema_utils.py |
| 5 |
97.27 |
0.51% | components/generators/chat/openai.py |
| 7 |
96.39 |
0.98% | components/generators/chat/hugging_face_api.py |
| 7 |
95.9 |
-0.03% | components/tools/tool_invoker.py |
| 9 |
96.4 |
-0.37% | components/agents/agent.py |
| 13 |
89.94 |
0.06% | core/pipeline/breakpoint.py |
| 16 |
85.86 |
0.43% | components/generators/chat/hugging_face_local.py |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 18645317230.1 | 236 |
92.22 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|