Comments (13)
Coincidentally, I did get errors this time. Interestingly it seems to be that specific questions cause errors. I asked it, "What is cool?".
The error it threw in the browser:
1 of 1 unhandled error
Unhandled Runtime Error
Error: Internal Server Error
Source
components/Search.tsx (42:12) @ fetchSources
40 | if (!response.ok) {
41 | setLoading(false);
> 42 | throw new Error(response.statusText);
| ^
43 | }
44 |
45 | const { sources }: { sources: Source[] } = await response.json();
Call Stack
async handleSearch
components/Search.tsx (27:20)
The error it threw on the server:
[DOMException [InvalidCharacterError]: "[class]" did not match the Name production]
from clarity-ai.
It works fine for me.
- Clone the repo
npm install
inside the repo foldernpm run dev
- In your browser: http://localhost:3000
from clarity-ai.
yeah it does not work it gives error at the end
from clarity-ai.
@IdrisGame What is the error?
from clarity-ai.
@IdrisGame What is the error?
Try it, once I put the api, then do the search it gives Answer Error. Doesnt output the answer but gives Answer error
from clarity-ai.
These are the possible errors: https://github.com/search?q=repo%3Amckaywrigley%2Fclarity-ai%20answer%20error&type=code
What is the exact error in your browser console logs?
from clarity-ai.
These are the possible errors: https://github.com/search?q=repo%3Amckaywrigley%2Fclarity-ai%20answer%20error&type=code
What is the exact error in your browser console logs?
Have you tried on your end do you get any error. Also I dont know if is because I put gpt 3 instead of gpt3.5
from clarity-ai.
Are you able to fix it?
from clarity-ai.
I have the same error "Unhandled Runtime Error"
from clarity-ai.
Coincidentally, I did get errors this time. Interestingly it seems to be that specific questions cause errors. I asked it, "What is cool?".
The error it threw in the browser:
1 of 1 unhandled error Unhandled Runtime Error Error: Internal Server Error Source components/Search.tsx (42:12) @ fetchSources 40 | if (!response.ok) { 41 | setLoading(false); > 42 | throw new Error(response.statusText); | ^ 43 | } 44 | 45 | const { sources }: { sources: Source[] } = await response.json(); Call Stack async handleSearch components/Search.tsx (27:20)The error it threw on the server:
[DOMException [InvalidCharacterError]: "[class]" did not match the Name production]
ran it and getting the same Error message.
from clarity-ai.
hey guys the error message indicates that an invalid URL was passed to the URL constructor in your Next.js API route at pages/api/sources.ts on line 38.
There are two main modifications:
- When extracting links, the cleanedHref is decoded and checked to ensure that the decoded link starts with "http://" or "https://" to ensure it is a valid absolute URL.
- When filtering links, the code for creating a URL object is wrapped in a try-catch block. If an error is thrown due to an invalid URL, we catch the error, log it, and return false to exclude the link from the filtered results.
With these modifications, invalid URLs should be handled properly and prevent the occurrence of TypeError: Invalid URL errors.
from clarity-ai.
What's the solution? I have the same problem here.
https://share.zight.com/o0uOnW4L
from clarity-ai.
+1. Can't get it to work. The project also seems unmaintained?
I'm working on a new one, with local LLM support. The landscape is already so different than when this project started.
from clarity-ai.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clarity-ai.