Skip to content

Commit

Permalink
Fixed bug where workflow ControllerClient is not updated when Workflo…
Browse files Browse the repository at this point in the history
…wServerConfig is updated (#29)
  • Loading branch information
nschenone authored Oct 1, 2024
1 parent b575935 commit 89f97cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from urllib.parse import urlparse

import uvicorn

from genai_factory.config import WorkflowServerConfig
from genai_factory.controller_client import ControllerClient
from genai_factory.schemas import WorkflowType
Expand Down Expand Up @@ -55,6 +54,7 @@ def set_config(self, config: WorkflowServerConfig):
self._session_store = SessionStore(self._controller_client)
for workflow in self._workflows.values():
workflow._server = None
workflow._client = self._controller_client

def add_workflow(
self,
Expand Down

0 comments on commit 89f97cb

Please sign in to comment.