We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83f18e0 commit 2c30e04Copy full SHA for 2c30e04
src/components/Filter/components/ai/components/FacetAssistant/facetAssistant.tsx
@@ -31,13 +31,16 @@ export const FacetAssistant = (): JSX.Element => {
31
setIsError(false);
32
33
try {
34
- const res = await fetch("http://localhost:8000/api/v0/facets?mode=llm", {
35
- body: JSON.stringify({ query: formValue }),
36
- method: "POST",
37
- headers: {
38
- "Content-Type": "application/json",
39
- },
40
- });
+ const res = await fetch(
+ "http://localhost:8000/api/v0/facets?mode=llm",
+ {
+ body: JSON.stringify({ query: formValue }),
+ headers: {
+ "Content-Type": "application/json",
+ },
41
+ method: "POST",
42
+ }
43
+ );
44
45
if (!res.ok) {
46
setIsError(true);
0 commit comments