Commit fe9e831
committed
refactor!: make agents more composable
- add `NullReporter` and `NULL_REPORTER` to `askui.reporting`
- make Claude 4 available to `AndroidVisionAgent`
- extract common base class `AgentBase` from `VisionAgent` and `AndroidVisionAgent`
- make all settings for llm apis (messages / chat completions / responses) and agents
configurable through environment variables
BREAKING CHANGE:
- remove `exceptions.AskUiApiError` and `AskUiApiRequestFailedError`
(unused)
- remove old ways of configuring (env vars and `*Settings` classes)
Inference and Anthropic APIs / models except
`ASKUI_TOKEN`, `ASKUI_WORKSPACE_ID` and `ASKUI_INFERENCE_ENDPOINT`,
and `ANTHROPIC_API_KEY` (still work as before)
- extend `ActModel.act` by 2 new parameters `tools` and `settings`1 parent 978f472 commit fe9e831
File tree
44 files changed
+1540
-1958
lines changed- src/askui
- models
- anthropic
- askui
- openrouter
- ui_tars_ep
- tests
- e2e/agent
- integration
- agent
- unit/models
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+1540
-1958
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| 290 | + | |
290 | 291 | | |
291 | 292 | | |
292 | 293 | | |
| |||
310 | 311 | | |
311 | 312 | | |
312 | 313 | | |
| 314 | + | |
| 315 | + | |
313 | 316 | | |
314 | 317 | | |
315 | 318 | | |
| |||
389 | 392 | | |
390 | 393 | | |
391 | 394 | | |
| 395 | + | |
| 396 | + | |
392 | 397 | | |
393 | 398 | | |
394 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
0 commit comments