Current section
Files
Jump to
Current section
Files
lib/gen_ai/graph/node/setting_node.protocols.ex
defimpl GenAi.Graph.NodeProtocol, for: GenAI.Graph.SettingNode do
def apply(node, state)
def apply(node, state) do
GenAI.Thread.StateProtocol.with_setting(state, node.setting, node.value)
end
end