Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove unused ImagineLA chat engine settings from UI #195

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

yoomlam
Copy link
Contributor

@yoomlam yoomlam commented Jan 23, 2025

Ticket

Slack

Changes

Remove unused ImagineLA chat engine settings from UI

Testing

In chatbot web UI, open the chatbot's settings to ensure those 2 settings don't appear.

@yoomlam yoomlam requested a review from fg-nava January 23, 2025 22:51
Comment on lines +182 to +188
user_settings = [
"llm",
"retrieval_k",
"retrieval_k_min_score",
"system_prompt",
]

Copy link
Contributor

Choose a reason for hiding this comment

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

this just looks like code addition, intent to also remove LOC?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Compare with the parent class BaseEngine.user_settings.

Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2959 2654 90% 80% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
app/src/chat_engine.py 81% 🟢
TOTAL 81% 🟢

updated for commit: 3a6834f by action🐍

@yoomlam yoomlam merged commit 3346ef4 into main Jan 23, 2025
4 checks passed
@yoomlam yoomlam deleted the yl/remove_unused_settings branch January 23, 2025 22:55
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