Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: unhandledRejection with /chat-summary #18

Open
amitb0ra opened this issue Mar 5, 2025 · 5 comments
Open

Error: unhandledRejection with /chat-summary #18

amitb0ra opened this issue Mar 5, 2025 · 5 comments

Comments

@amitb0ra
Copy link

amitb0ra commented Mar 5, 2025

I am getting this error with /chat-summary after i changed { key: 'llama3-8b', i18nLabel: 'Llama3 8B' } to { key: 'localhost:11434', i18nLabel: 'localhost:11434' }

Instance: 4e43f213-ba80-428f-ba4e-88d2e4914bd5
error: 2025-03-05T13:38:17.121Z Caller: anonymous OR constructor

[
  {
    "jsonrpc": "2.0",
    "method": "unhandledRejection",
    "params": [
      {
        "type": "unhandledrejection",
        "reason": {
          "message": "Internal error",
          "code": -32603,
          "data": "Message must exist or must be a string."
        },
        "timestamp": "2025-03-05T13:38:17.120Z"
      }
    ]
  }
]

endpoint is working fine:

Image

@JeffreytheCoder
Copy link
Collaborator

Hey @amitb0ra , you can look into this PR where @sushen123 just added support for self-hosted model

@amitb0ra
Copy link
Author

amitb0ra commented Mar 7, 2025

@JeffreytheCoder @sushen123

got error again

[
"Error in handleSelfHostedModel: undefined"
]

@sushen123
Copy link
Contributor

@amitb0ra http://localhost:11434/api/chat use this url, It will work

Image
Ignore the output , i am using very small model

@amitb0ra
Copy link
Author

amitb0ra commented Mar 7, 2025

yeah i am using the same url

@sushen123
Copy link
Contributor

yeah i am using the same url

it working on my computer ,can you give the screenshot of app settings ?

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

No branches or pull requests

3 participants