Updated modal with API changes - thank you to student Sayak
This commit is contained in:
@@ -15,7 +15,7 @@ class SpecialistAgent(Agent):
|
||||
Set up this Agent by creating an instance of the modal class
|
||||
"""
|
||||
self.log("Specialist Agent is initializing - connecting to modal")
|
||||
Pricer = modal.Cls.lookup("pricer-service", "Pricer")
|
||||
Pricer = modal.Cls.from_name("pricer-service", "Pricer")
|
||||
self.pricer = Pricer()
|
||||
self.log("Specialist Agent is ready")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user