lastmile-ai / aiconfig

AIConfig is a config-based framework to build generative AI applications.
https://aiconfig.lastmileai.dev
MIT License
965 stars 79 forks source link

Feat: Add in ability to delete a single output by prompt name in editor #1465

Closed justinkchen closed 8 months ago

justinkchen commented 8 months ago

https://github.com/lastmile-ai/aiconfig/issues/1451 Screenshot 2024-03-17 at 4 37 15 PM

Adds the ability to delete a single output in the config editor

rossdanlm commented 8 months ago

Btw for failing blockers (on autoformatting), you can use either of these commands to reformat and get unblocked (I think, not 100% sure):

  1. black --exclude '/\.sl\b' . --line-length=79
  2. fd --glob '*.py' python/src/aiconfig/editor | xargs python -m 'scripts.lint' --mode=fix --files
rholinshead commented 8 months ago

Ah, looks like the formatting lint is still failing. I'll override to merge to unblock and then I can do a quick PR with the formatting. I'd recommend setting up black formatter extension in vs code (if you use it) so that it formats automatically on save instead of needing the command