byte-vortex commited on
Commit
77145ac
·
verified ·
1 Parent(s): ac51fbf

Deploy Myco from CI

Browse files
Files changed (1) hide show
  1. game/state.py +2 -2
game/state.py CHANGED
@@ -5,14 +5,14 @@ from models.mushroom import Mushroom
5
  WELCOME_MESSAGE = "Hello! I'm Myco. Let's explore the forest."
6
  EMPTY_DEX = "Your MycoDex is empty. Discover a mushroom, then add it here."
7
 
8
- ChatHistory = list[tuple[str | None, str | None]]
9
  MushroomState = dict[str, str]
10
  CollectionState = list[MushroomState]
11
 
12
 
13
  def welcome_history() -> ChatHistory:
14
  """Return the opening Myco companion message."""
15
- return [(None, WELCOME_MESSAGE)]
16
 
17
 
18
  def mushroom_from_state(current: MushroomState) -> Mushroom:
 
5
  WELCOME_MESSAGE = "Hello! I'm Myco. Let's explore the forest."
6
  EMPTY_DEX = "Your MycoDex is empty. Discover a mushroom, then add it here."
7
 
8
+ ChatHistory = list[dict[str, str]]
9
  MushroomState = dict[str, str]
10
  CollectionState = list[MushroomState]
11
 
12
 
13
  def welcome_history() -> ChatHistory:
14
  """Return the opening Myco companion message."""
15
+ return [{"role": "assistant", "content": WELCOME_MESSAGE}]
16
 
17
 
18
  def mushroom_from_state(current: MushroomState) -> Mushroom: