The evaluation's status and, once done, its verdict. `can_export=1` says this CLI has `crewai eval export`, so the brief may point at it. AMP passes it on to the evaluation service; an AMP from before exports drops it, so the brief names the command only when the CLI
(self, evaluation_id: str)
| 102 | ) |
| 103 | |
| 104 | def get_evaluation(self, evaluation_id: str) -> httpx.Response: |
| 105 | """The evaluation's status and, once done, its verdict. |
| 106 | |
| 107 | `can_export=1` says this CLI has `crewai eval export`, so the brief may |
| 108 | point at it. AMP passes it on to the evaluation service; an AMP from |
| 109 | before exports drops it, so the brief names the command only when the |
| 110 | CLI, AMP and the service all serve it. |
| 111 | """ |
| 112 | return self._make_request( |
| 113 | "GET", |
| 114 | f"{self.EVALUATIONS_RESOURCE}/{evaluation_id}", |
| 115 | params={"can_export": "1"}, |
| 116 | timeout=self.EVALUATION_POLL_TIMEOUT, |
| 117 | ) |
| 118 | |
| 119 | def export_evaluation( |
| 120 | self, evaluation_id: str, *, timeout: httpx.Timeout | None = None |