Commit 9d05274
fix: address critical deprecation and doctor fix issues
- Remove duplicate deprecation warnings between wrapper and core Agent
- Fix CLI command reference from 'praisonai doctor --fix' to 'praisonai doctor fix --execute'
- Remove unimplemented 'allow_legacy_runtime_pin=True' reference
- Fix duplicate file processing in doctor handler by deduplicating yaml_files
- Add proper error handling with exit codes in doctor fix command
- Remove unused imports and variables in doctor handler
- Fix CLI flag mapping from --config to --file for handler compatibility
- Remove test fixture from repository root
These fixes address all critical bugs identified by previous reviewers.
Co-authored-by: Mervin Praison <MervinPraison@users.noreply.github.com>1 parent f132b7f commit 9d05274
5 files changed
Lines changed: 8 additions & 33 deletions
File tree
- src
- praisonai-agents/praisonaiagents/agent
- praisonai/praisonai
- cli
- commands
- features/doctor
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2041 | 2041 | | |
2042 | 2042 | | |
2043 | 2043 | | |
2044 | | - | |
2045 | | - | |
| 2044 | + | |
2046 | 2045 | | |
2047 | 2046 | | |
2048 | 2047 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 33 | + | |
47 | 34 | | |
48 | 35 | | |
49 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
| 359 | + | |
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| |||
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
319 | 318 | | |
320 | 319 | | |
321 | 320 | | |
| |||
330 | 329 | | |
331 | 330 | | |
332 | 331 | | |
| 332 | + | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| 341 | + | |
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
| |||
348 | 349 | | |
349 | 350 | | |
350 | 351 | | |
351 | | - | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
| 378 | + | |
379 | 379 | | |
380 | 380 | | |
| 381 | + | |
381 | 382 | | |
382 | 383 | | |
383 | 384 | | |
| |||
391 | 392 | | |
392 | 393 | | |
393 | 394 | | |
394 | | - | |
| 395 | + | |
395 | 396 | | |
396 | 397 | | |
397 | 398 | | |
| |||
This file was deleted.
0 commit comments