Skip to content

Commit

Permalink
use standard US spelling
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 588337754
Change-Id: I1ad3e5b5d7224d5366744ac8e98c6da1819e2f74
  • Loading branch information
jzleibo authored and copybara-github committed Dec 6, 2023
1 parent 10a505f commit 7357fb3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions concordia/components/agent/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(
timescale: str = 'the rest of the day',
time_adverb: str = 'hourly',
verbose: bool = False,
log_colour='green',
log_color='green',
):
"""Initialize a component to represent the agent's plan.
Expand All @@ -51,13 +51,13 @@ def __init__(
timescale: string describing how long the plan should last
time_adverb: string describing the rate of steps in the plan
verbose: whether or not to print intermediate reasoning steps
log_colour: colour for logging
log_color: color for debug logging
"""
self._model = model
self._memory = memory
self._state = ''
self._agent_name = agent_name
self._log_colour = log_colour
self._log_color = log_color
self._components = components
self._num_memories_to_retrieve = num_memories_to_retrieve
self._goal_component = goal
Expand All @@ -77,7 +77,7 @@ def state(self):
return self._state

def _log(self, entry: str):
print(termcolor.colored(entry, self._log_colour), end='')
print(termcolor.colored(entry, self._log_color), end='')

def observe(self, observation: str):
self._last_observation.append(observation)
Expand Down

0 comments on commit 7357fb3

Please sign in to comment.