BF-WAB / test_marlin_fix.py
SamiKoen's picture
fix: Handle Turkish İ character in product search
eb0b385
raw
history blame contribute delete
593 Bytes
#!/usr/bin/env python3
"""Test Marlin 5 after Turkish character fix"""
import os
os.environ['OPENAI_API_KEY'] = os.getenv('OPENAI_API_KEY', '')
from smart_warehouse_with_price import get_warehouse_stock_smart_with_price
def test_marlin():
print("Testing Marlin 5 search...")
print("="*60)
result = get_warehouse_stock_smart_with_price("Marlin 5")
if result:
print("\n✅ Results found:")
for item in result[:3]: # Show first 3
print(f"\n{item}")
else:
print("\n❌ No results")
if __name__ == "__main__":
test_marlin()