Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ LogFiles
deploy.log
__pycache__
*.log
*agents_state.json

# .tfstate files
*.tfstate
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ graph TD

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-1586-limegreen" alt="Total views">
<p>Refresh Date: 2025-11-29</p>
<img src="https://img.shields.io/badge/Total%20views-1611-limegreen" alt="Total views">
<p>Refresh Date: 2025-12-03</p>
</div>
<!-- END BADGE -->
4 changes: 2 additions & 2 deletions TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ terraform apply

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-1586-limegreen" alt="Total views">
<p>Refresh Date: 2025-11-29</p>
<img src="https://img.shields.io/badge/Total%20views-1611-limegreen" alt="Total views">
<p>Refresh Date: 2025-12-03</p>
</div>
<!-- END BADGE -->
4 changes: 2 additions & 2 deletions src/DATA_PIPELINE.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ az search index show-statistics \

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-1586-limegreen" alt="Total views">
<p>Refresh Date: 2025-11-29</p>
<img src="https://img.shields.io/badge/Total%20views-1611-limegreen" alt="Total views">
<p>Refresh Date: 2025-12-03</p>
</div>
<!-- END BADGE -->
27 changes: 0 additions & 27 deletions src/app/agents/agents_state.json

This file was deleted.

5 changes: 4 additions & 1 deletion src/app/agents/deploy_real_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ def deploy_agents():
]

# Load prior state (instruction hashes) if present
state_path = os.path.join(os.path.dirname(__file__), "agents_state.json")
# Write to terraform temp directory instead of src/app/agents
terraform_dir = os.path.join(os.path.dirname(__file__), "..", "..", "..", "terraform-infrastructure")
state_path = os.path.join(terraform_dir, ".terraform", "agents_state.json")
os.makedirs(os.path.dirname(state_path), exist_ok=True)
prior_state = {}
if os.path.exists(state_path):
try:
Expand Down
14 changes: 7 additions & 7 deletions src/app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -314,14 +314,14 @@ <h1>🏠 Zava AI Shopping Assistant</h1>

function getAgentDisplayName(agent) {
const agentNames = {
'cora': 'Cora',
'interior_design': 'Design Specialist',
'inventory': 'Inventory Manager',
'customer_loyalty': 'Rewards Specialist',
'cart': 'Cart Manager',
'single': 'Assistant'
'cora': '🏠 Cora',
'interior_design': '🎨 Design Specialist',
'inventory': '📦 Inventory Manager',
'customer_loyalty': '🎁 Rewards Specialist',
'cart': '🛒 Cart Manager',
'single': '🤖 Assistant'
};
return agentNames[agent] || 'Assistant';
return agentNames[agent] || '🤖 Assistant';
}

function addMessage(text, type, agentName = null, imageUrl = null) {
Expand Down
4 changes: 2 additions & 2 deletions terraform-infrastructure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ graph TD;

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-1586-limegreen" alt="Total views">
<p>Refresh Date: 2025-11-29</p>
<img src="https://img.shields.io/badge/Total%20views-1611-limegreen" alt="Total views">
<p>Refresh Date: 2025-12-03</p>
</div>
<!-- END BADGE -->
Loading