Spaces:
Sleeping
Sleeping
Commit History
-
fix: resolve ModuleNotFoundError for tools.tools
Nolan Zandi +1: Claude Sonnet 4.6Root causes: - tools/__init__.py was missing; created empty file to make tools/ a proper Python package - chart_tools.py and stats_tools.py had top-level `from haystack.tools import Tool` imports, causing the entire module to fail to load if that import path is unavailable, which surfaced as ModuleNotFoundError: No module named 'tools.tools' - Fixed by removing all Haystack imports from chart_tools.py and stats_tools.py — they now export plain schema dicts only - tools.py does the `from haystack.tools import Tool` import lazily inside tools_call(), so any ImportError surfaces clearly at call time rather than at module load - Pinned haystack-ai>=2.7.0 in requirements.txt to ensure Tool is available Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>70b0712 -
feat: user-supplied API keys, model selector, and Anthropic support
Nolan Zandi +1: Claude Sonnet 4.6- Replace hardwired OpenAI key with a per-session API key form at the top of the UI; key is stored in memory only and cleared on page unload - Add model dropdown that dynamically switches between OpenAI and Anthropic model lists based on detected key prefix (sk-ant- vs sk-) - Add anthropic-haystack dependency for AnthropicChatGenerator support - Refactor tools/chart_tools.py, tools/stats_tools.py, and tools/tools.py to use Haystack's provider-agnostic Tool class instead of raw OpenAI-format dicts, enabling tool calling to work with both OpenAI and Anthropic models - Fix invalid JSON Schema (items field on non-array properties) in tool parameter definitions for stricter Anthropic compatibility - Pass tools via tools= parameter to chat_generator.run() rather than generation_kwargs so both generators handle format conversion natively Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>4ac9bc4
-
updates to queries and tools for fewer errors
Nolan Zandi0fe0734
-
condense query functions
Nolan Zandi9dfb507
-
refactor chat functions
Nolan Zandib1d71ae
-
add secondary query function
Nolan Zandibe3a88a -
first version of graphql integration
Nolan Zandif907f2a
-
integration mongodb
Nolan Zandi18b1006
-
review updates
Nolan Zandi35107b6 -
first draft of sql integration
Nolan Zandi8310dd0
-
more refactor updates
Nolan Zandi8a82b49
-
refactor and visual updates
Nolan Zandia7f0a50