lumen icon indicating copy to clipboard operation
lumen copied to clipboard

Fix error handling

Open ahuang11 opened this issue 1 year ago • 1 comments

Closes https://github.com/holoviz/lumen/issues/585

Rather than having the LLM try to recover from unrecoverable errors, prevent it from trying to.

image

consolidates retries to prevent redundant code and only keeps the targeted retry while removing the catch-all-exceptions-and-retry since it usually fails to do the right thing and wastes tokens

image

ahuang11 avatar Jun 29 '24 01:06 ahuang11

tested and works for me when missing API key

droumis avatar Jul 03 '24 00:07 droumis

Planning to merge first and serialize() only the last message, once https://github.com/holoviz/panel/pull/6967 goes in.

ahuang11 avatar Jul 10 '24 21:07 ahuang11

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Oct 22 '24 00:10 github-actions[bot]