Skip to content

Commit 2c30e04

Browse files
committed
wip
1 parent 83f18e0 commit 2c30e04

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/components/Filter/components/ai/components/FacetAssistant/facetAssistant.tsx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,16 @@ export const FacetAssistant = (): JSX.Element => {
3131
setIsError(false);
3232

3333
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-
});
34+
const res = await fetch(
35+
"http://localhost:8000/api/v0/facets?mode=llm",
36+
{
37+
body: JSON.stringify({ query: formValue }),
38+
headers: {
39+
"Content-Type": "application/json",
40+
},
41+
method: "POST",
42+
}
43+
);
4144

4245
if (!res.ok) {
4346
setIsError(true);

0 commit comments

Comments
 (0)