Spaces:
Paused
Paused
Fix: ensure sampled_characteristics is initialized to prevent UnboundLocalError during LLM retries
Browse files197 unmodified lines198199200201202203197 unmodified lineslogger.debug(f"Starting the person generation based these particularities: {agent_particularities}")fresh_agent_name = None# are we going to use a pre-computed sample of characteristics too?if self.population_size is not None:197 unmodified lines198199200201202203204197 unmodified lineslogger.debug(f"Starting the person generation based these particularities: {agent_particularities}")fresh_agent_name = Nonesampled_characteristics = None# are we going to use a pre-computed sample of characteristics too?if self.population_size is not None:
tinytroupe/factory/tiny_person_factory.py+1