MCPcopy Create free account
hub / github.com/billxbf/ReWOO / __init__

Method __init__

nodes/Solver.py:6–9  ·  view source on GitHub ↗
(self, prefix=DEFAULT_PREFIX, suffix=DEFAULT_SUFFIX, model_name="text-davinci-003", stop=None)

Source from the content-addressed store, hash-verified

4
5class Solver(LLMNode):
6 def __init__(self, prefix=DEFAULT_PREFIX, suffix=DEFAULT_SUFFIX, model_name="text-davinci-003", stop=None):
7 super().__init__("Solver", model_name, stop, input_type=str, output_type=str)
8 self.prefix = prefix
9 self.suffix = suffix
10
11 def run(self, input, worker_log, log=False):
12 assert isinstance(input, self.input_type)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected