Skip to content

Commit

Permalink
Fix type of skill_classifier
Browse files Browse the repository at this point in the history
  • Loading branch information
odryfox committed Mar 5, 2020
1 parent 5bf7316 commit ec2d322
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ A Simple Example
name = self.ask(question="What is your name?")
self.say(f"Nice to meet you {name}!")
def skill_classifier(message: str) -> List[Type[Skill]]:
def skill_classifier(message: str) -> List[Skill]:
return [MeetingSkill()]
agent = Agent(skill_classifier=skill_classifier)
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ A Simple Example
name = self.ask(question="What is your name?")
self.say(f"Nice to meet you {name}!")
def skill_classifier(message: str) -> List[Type[Skill]]:
def skill_classifier(message: str) -> List[Skill]:
return [MeetingSkill]
agent = Agent(skill_classifier=skill_classifier)
Expand Down

0 comments on commit ec2d322

Please sign in to comment.