Skip to content

SDK to API using smart batching + Export to Excel - #33

Merged
paco-ravenpack merged 6 commits into
masterfrom
sdk-to-api
Aug 26, 2026
Merged

SDK to API using smart batching + Export to Excel#33
paco-ravenpack merged 6 commits into
masterfrom
sdk-to-api

Conversation

@bkakadiya-bigdata

Copy link
Copy Markdown
Contributor

SDK to API using smart batching + Export to Excel

@bkakadiya-bigdata
bkakadiya-bigdata requested a review from a team as a code owner August 25, 2026 20:24
bkakadiya-bigdata and others added 5 commits August 25, 2026 16:54
…tion

Docker COPY of uv.lock was broken after the lockfile was gitignored, omitted dates KeyError'd before Field defaults, and extract_sentences scored only entity_ids[0].

Co-authored-by: Cursor <cursoragent@cursor.com>
bigdata-client used to call load_dotenv() at import, so removing it left
.env unread and startup failed on missing API keys. Configure env_file
explicitly; real environment variables still take precedence.

Co-authored-by: Cursor <cursoragent@cursor.com>
The Bigdata.com and OpenAI clients fell back to os.environ, so keys supplied
only through .env reached Settings but not the clients, and analyses failed
mid-run with missing credentials. Both are now constructed from settings.

A report database created by 2.x also kept its old columns, since create_all
never alters existing tables, making every /status read fail with an opaque
500. Startup now reports the incompatible schema explicitly.

Co-authored-by: Cursor <cursoragent@cursor.com>

@paco-ravenpack paco-ravenpack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Locally verified after the SDK-to-API follow-up fixes: .env credentials reach the OpenAI and Bigdata.com clients, the 3.0 SQLite schema is created (or startup fails clearly on a 2.x DB), and a full analysis run completed successfully.

@paco-ravenpack
paco-ravenpack merged commit 55afd0f into master Aug 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants