The Open Assistant API is a ready-to-use, open-source, self-hosted agent/gpts orchestration creation framework, supporting customized extensions for LLM, RAG, function call, and tools capabilities. It also supports seamless integration with the openai/langchain sdk.
MIT License
270
stars
53
forks
source link
Resolve Coroutine Handling Error in Tool Output Submission #62
This pull request addresses the coroutine handling error encountered when submitting tool outputs, as detailed in issue #61. The modifications include:
Updated Coroutine Management: The get_in_progress_run_step method within RunService has been adjusted to properly utilize await with SQLAlchemy's async session operations. This ensures that database queries are correctly awaited before their results are manipulated.
Poetry Command Adjustments in Dockerfile: Updated the Docker commands to adhere to the new poetry syntax, which resolves deprecation warnings and lock file issues. Specifically, the poetry install --no-dev command was replaced with poetry lock --no-update followed by poetry install --only main.
Description
This pull request addresses the coroutine handling error encountered when submitting tool outputs, as detailed in issue #61. The modifications include:
get_in_progress_run_step
method withinRunService
has been adjusted to properly utilizeawait
with SQLAlchemy's async session operations. This ensures that database queries are correctly awaited before their results are manipulated.poetry install --no-dev
command was replaced withpoetry lock --no-update
followed bypoetry install --only main
.