Skip to content

Conversation

raunakab
Copy link
Contributor

Description

When an LLM Provider is enabled, an alert is fired which prints a dict. This was probably left in during development. This PR removes that.

Addresses: https://linear.app/danswer/issue/DAN-1824/remove-alert-upon-enablement-editing-of-an-llm-provider.

How Has This Been Tested?

This simply removes a print-out. Manually tested. No further testing required.

Backporting (check the box to trigger backport action)

Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.

  • This PR should be backported (make sure to check that the backport attempt succeeds)
  • [Optional] Override Linear Check

@raunakab raunakab requested a review from a team as a code owner April 16, 2025 01:25
Copy link

vercel bot commented Apr 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:26am

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR removes a development debugging alert that was exposing internal form validation state when submitting the LLM Provider configuration form.

  • Removed alert(JSON.stringify(formikProps.errors)) from /web/src/app/admin/configuration/llm/LLMProviderUpdateForm.tsx which was unnecessarily exposing form validation details
  • Form maintains proper error handling through Formik validation schema and UI components
  • Change improves user experience by removing technical debugging output that provided no user value

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@evan-onyx evan-onyx enabled auto-merge April 16, 2025 01:46
@pablonyx pablonyx disabled auto-merge April 16, 2025 02:12
@pablonyx pablonyx merged commit 1dd32eb into main Apr 16, 2025
8 of 11 checks passed
@pablonyx pablonyx deleted the fix/remove-alert branch April 16, 2025 02:12
aronszanto pushed a commit to aronszanto/onyx that referenced this pull request Apr 26, 2025
AnkitTukatek pushed a commit to TukaTek/onyx that referenced this pull request Sep 23, 2025
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.

4 participants