banko-ai-assistant 1.0.1__py3-none-any.whl → 1.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
banko_ai/web/app.py CHANGED
@@ -111,7 +111,8 @@ def create_app() -> Flask:
111
111
  query = data.get('query', '')
112
112
  limit = data.get('limit', 10)
113
113
  threshold = data.get('threshold', 0.7)
114
- user_id = user_manager.get_current_user()['id'] if user_manager.is_logged_in() else None
114
+ current_user = user_manager.get_current_user()
115
+ user_id = current_user['id'] if current_user else None
115
116
 
116
117
  # Perform vector search
117
118
  results = search_engine.search_expenses(
@@ -408,7 +409,8 @@ def create_app() -> Flask:
408
409
 
409
410
  try:
410
411
  # Search for relevant expenses using the configured AI service
411
- user_id = user_manager.get_current_user()['id'] if user_manager.is_logged_in() else None
412
+ current_user = user_manager.get_current_user()
413
+ user_id = current_user['id'] if current_user else None
412
414
  result = search_engine.search_expenses(
413
415
  query=prompt,
414
416
  user_id=user_id,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: banko-ai-assistant
3
- Version: 1.0.1
3
+ Version: 1.0.3
4
4
  Summary: AI-powered expense analysis and RAG system with CockroachDB vector search and multi-provider AI support
5
5
  Author-email: Virag Tripathi <virag.tripathi@gmail.com>
6
6
  License-Expression: MIT
@@ -154,11 +154,11 @@ banko_ai/vector_search/enrichment.py,sha256=sRnFLNG9WGfq8j44T7krxHI-Lc2RSH68mt0I
154
154
  banko_ai/vector_search/generator.py,sha256=b2yFIZRVkeGXOvsQmrqvLG7EygQ5RS4c6EakeYCZeMM,13439
155
155
  banko_ai/vector_search/search.py,sha256=k3wo3zFJH9o-kBc-vAS-bdmM3LGX2vIk3u4cRA5QPXo,16915
156
156
  banko_ai/web/__init__.py,sha256=hjWVVxYpIZhOAN1qBf4xTd36a5AUHM03Q8BF8pykhJQ,363
157
- banko_ai/web/app.py,sha256=QafMujAOuLHQkplAMtM1gkl900oNTXyvIV3dPb1cevE,26282
157
+ banko_ai/web/app.py,sha256=ALp-wx_HYGGGeEP-cTMBxxN1QNAtX5vOhHSigPO3J5Q,26340
158
158
  banko_ai/web/auth.py,sha256=js6qIixSFHyLbETDm8GNLCPrDkCDcaQZPFOrqtZP1uw,2125
159
- banko_ai_assistant-1.0.1.dist-info/licenses/LICENSE,sha256=skG0LkywIClj8fgSIXiG6o9vUDJ678BKBObIyJ19OMw,1075
160
- banko_ai_assistant-1.0.1.dist-info/METADATA,sha256=1lM0vVVP0S50q22z1XEBos6njKXWanZQatQP2fpMeCc,13243
161
- banko_ai_assistant-1.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
- banko_ai_assistant-1.0.1.dist-info/entry_points.txt,sha256=IxPjBjMvbpCp-ikCA43bOSbYboTGPX4HYcZlvu2_vcA,47
163
- banko_ai_assistant-1.0.1.dist-info/top_level.txt,sha256=xNMa9Z67UssefOQ2ubFObtqUYIfYmCIclfz0xdo5OPE,9
164
- banko_ai_assistant-1.0.1.dist-info/RECORD,,
159
+ banko_ai_assistant-1.0.3.dist-info/licenses/LICENSE,sha256=skG0LkywIClj8fgSIXiG6o9vUDJ678BKBObIyJ19OMw,1075
160
+ banko_ai_assistant-1.0.3.dist-info/METADATA,sha256=BpgI0P8IHkm72m1o_RGC78KEAoIP3PKTiFWPs9VSlI8,13243
161
+ banko_ai_assistant-1.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
+ banko_ai_assistant-1.0.3.dist-info/entry_points.txt,sha256=IxPjBjMvbpCp-ikCA43bOSbYboTGPX4HYcZlvu2_vcA,47
163
+ banko_ai_assistant-1.0.3.dist-info/top_level.txt,sha256=xNMa9Z67UssefOQ2ubFObtqUYIfYmCIclfz0xdo5OPE,9
164
+ banko_ai_assistant-1.0.3.dist-info/RECORD,,