fix: Hide tool button on non-supported providers, Display errors for missing invocation params (#5470)
* fix: Hide tool button on providers that do not have tool support implemented * refactor: Hoist invocation param fetching to top level of instance, cache results in store Additionally moves invocation param filtering to just before making the completion queries, not when the invocation param form is opened * feat: Display error messages and tooltips when required invocation param fields are not provided * fix test * Remove redundant gql query in PlaygroundChatTemplateFooter * lint * Add comments * Merge default model parameter values with playground instance values * Use danger color alias for invocation param field errors * Rename variable for clarity * Simplify invocation parameter merging logic * Add comments describing reasoning for query field name aliases
A
Anthony Powell committed
baecc54a0e1608e514ee77506344be4f682079cf
Parent: 326830c
Committed by GitHub <noreply@github.com>
on 11/25/2024, 8:42:10 PM