CC_flows / CF_Code.py
martinjosifoski's picture
Change the loading of the OpenAI flow to remote.
1654be2
raw
history blame
359 Bytes
import importlib
import os
from martinjosifoski.OpenAIChatAtomicFlow import OpenAIChatAtomicFlow
# flow_module = importlib.import_module(os.getenv("OpenAIChatAtomicFlow_module"))
# OpenAIChatAtomicFlow = getattr(flow_module, "OpenAIChatAtomicFlow")
class CF_Code(OpenAIChatAtomicFlow):
def __init__(self, **kwargs):
super().__init__(**kwargs)