Spaces:
Sleeping
Sleeping
Commit History
-
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
-
refactoring our code and adding updates to functions to make them more accurate
Nolan Zandia0b8cd8
-
add table generation and download
Nolan Zandifd47936