Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,6 +35,12 @@ def unwrap_text_objects(obj):
|
|
| 35 |
# Apply the unwrapping to raw templates
|
| 36 |
prompt_templates = unwrap_text_objects(raw_templates)
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
# Create the agent
|
| 39 |
agent = CodeAgent(
|
| 40 |
model=model,
|
|
|
|
| 35 |
# Apply the unwrapping to raw templates
|
| 36 |
prompt_templates = unwrap_text_objects(raw_templates)
|
| 37 |
|
| 38 |
+
# ✅ Debug print to verify structure
|
| 39 |
+
print("🟢 System Prompt:", prompt_templates.get("system_prompt"))
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
|
| 44 |
# Create the agent
|
| 45 |
agent = CodeAgent(
|
| 46 |
model=model,
|