[PR #445] [CLOSED] inference job failed #424 #1626

Closed
opened 2026-03-02 11:58:28 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/445
Author: @kamtschatka
Created: 9/30/2024
Status: Closed

Base: mainHead: inference-issues


📝 Commits (1)

📊 Changes

1 file changed (+21 additions, -8 deletions)

View changed files

📝 apps/workers/inference.ts (+21 -8)

📄 Description

added handling for the case where the chatCompletion is returned as a string

NOTE:

  • I can not reproduce this locally, but I worked with @hujh818 over discord who helped me figure out what is going on
  • I have absolutely no idea, why that is a string, but the logs he added, clearly showed that it is a string and after adding a JSON.parse, he confirmed that it is working now...

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/445 **Author:** [@kamtschatka](https://github.com/kamtschatka) **Created:** 9/30/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `inference-issues` --- ### 📝 Commits (1) - [`c89fa1e`](https://github.com/karakeep-app/karakeep/commit/c89fa1e7ca521f2d29438b2cf5726666e1242ec8) inference job failed #424 ### 📊 Changes **1 file changed** (+21 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `apps/workers/inference.ts` (+21 -8) </details> ### 📄 Description added handling for the case where the chatCompletion is returned as a string NOTE: * I can not reproduce this locally, but I worked with @hujh818 over discord who helped me figure out what is going on * I have absolutely no idea, why that is a string, but the logs he added, clearly showed that it is a string and after adding a JSON.parse, he confirmed that it is working now... --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 11:58:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1626
No description provided.