Spaces:
Sleeping
Sleeping
Update whalecore/agents.py
Browse files- whalecore/agents.py +2 -0
whalecore/agents.py
CHANGED
|
@@ -11,6 +11,8 @@ class Agent:
|
|
| 11 |
return f"Hello from {self.name}! You said: {message[:260]}..."
|
| 12 |
|
| 13 |
def load_agents(config_path="config.yaml"):
|
|
|
|
|
|
|
| 14 |
with open(config_path, 'r') as f:
|
| 15 |
config = yaml.safe_load(f)
|
| 16 |
|
|
|
|
| 11 |
return f"Hello from {self.name}! You said: {message[:260]}..."
|
| 12 |
|
| 13 |
def load_agents(config_path="config.yaml"):
|
| 14 |
+
print("📄 Parsed doc:", doc)
|
| 15 |
+
print("📄 Type of doc:", type(doc))
|
| 16 |
with open(config_path, 'r') as f:
|
| 17 |
config = yaml.safe_load(f)
|
| 18 |
|