Skip to content

Conversation

@kosstbarz
Copy link
Contributor

No description provided.

@kosstbarz kosstbarz requested review from a team and catstrike January 21, 2026 12:07
visualization_prompt = state.get("visualization_prompt")
result = ExecutionResult(
text=last_ai_message.text(),
text=last_ai_message.text,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

New version of LangChain raise deprecation warning on this.



def run_scenario() -> bool:
DB_PATH = file_path / "web_shop_orders/data/web_shop.duckdb"
Copy link
Collaborator

Choose a reason for hiding this comment

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

DB_PATH isn’t a global constant here, so it would be better to use lowercase to match the naming conventions.

Comment on lines 51 to 53
print(
f"Mean time: {sum(time_measures) / len(time_measures):.2f} seconds, Std: {pd.Series(time_measures).std():.2f}"
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

To make this a bit cleaner, I’d suggest rewriting it as:

measures = pd.Series(time_measures)

print(
    f"Mean time: {measures.mean():.2f} seconds, Std: {measures.std():.2f}"
)

Copy link
Collaborator

@catstrike catstrike left a comment

Choose a reason for hiding this comment

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

Please squash commits before merging

@kosstbarz kosstbarz merged commit a7eb7b4 into main Jan 26, 2026
10 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.

3 participants