Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Progress UI hook for custom endpoints #1820

Closed
1 task done
itrase opened this issue Feb 16, 2024 · 2 comments
Closed
1 task done

Enhancement: Progress UI hook for custom endpoints #1820

itrase opened this issue Feb 16, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@itrase
Copy link

itrase commented Feb 16, 2024

What features would you like to see added?

Both the Plugins endpoint and the new Assistants endpoint have UI elements that indicate the run/agent is busy using a tool/action/plugin. Custom endpoints allow for custom models that may be using tools in a similar way on the backend - it would be nice to still be able to display that status.

More details

As far as I understand it, LibreChat gets the status of an Assistant run by polling the OpenAI API, while it always knows the status of a Plugins run because it is managing the ReAct framework internally. Presumably, for custom endpoints, LibreChat would need to send an API request to the custom endpoint to check the status of a completion, which (AFAIK) is not part of the OpenAI API spec.

Which components are impacted by your request?

UI, Endpoints

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@itrase itrase added the enhancement New feature or request label Feb 16, 2024
@danny-avila
Copy link
Owner

danny-avila commented Feb 17, 2024

Yup something like this is planned. I would like to make it so any LLM can run tools in a similar fashion. I learned a lot by implementing agents through assistants

@danny-avila
Copy link
Owner

Re-reading this, I may have misread the first time when this issue was posted. I'm not sure I can do this without a standard framework in place (which is defined by both Assistants and Plugins endpoints, which is how I'm able to do this).

In both cases, there are triggers that define the state of actions.

@danny-avila danny-avila closed this as not planned Won't fix, can't repro, duplicate, stale Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants