dimagi / open-chat-studio

A web based platform for building Chatbots backed by Large Language Models
BSD 3-Clause "New" or "Revised" License
16 stars 7 forks source link

Refactor Assistant Runnable + state #864

Closed SmittieC closed 1 week ago

SmittieC commented 1 week ago

Description

This is a prefactor for the assistant node. I'm planning on calling the AssistantRunnable from the node, but with a new state that reads the config from the node/assistant instead of the experiment. There's still a lot we can refactor in the state/runnables files, but I'm going to only change that which is needed atm

User Impact

None

Demo

N/A

Docs

N/A

codecov-commenter commented 1 week ago

Codecov Report

Attention: Patch coverage is 92.68293% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
apps/service_providers/llm_service/state.py 89.47% 8 Missing :warning:
apps/service_providers/llm_service/runnables.py 93.75% 1 Missing :warning:
Additional details and impacted files

:loudspeaker: Thoughts on this report? Let us know!