[PR #1032] [MERGED] Custom fetch wrapper #656 #1730

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

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/1032
Author: @halkeye
Created: 2/16/2025
Status: Merged
Merged: 2/16/2025
Merged by: @MohamedBassem

Base: mainHead: halkeye-custom-fetch-wrapper


📝 Commits (5)

  • 3c742ff Add configurable fetch timeout for Ollama client
  • 972b5dc Worker service needs access to the .env file
  • d0bd638 repair typescript types
  • 9ade140 Update customFetch.ts
  • 193fc72 update the config docs

📊 Changes

5 files changed (+34 additions, -12 deletions)

View changed files

📝 docker/docker-compose.dev.yml (+4 -0)
📝 docs/docs/03-configuration.md (+13 -12)
📝 packages/shared/config.ts (+2 -0)
packages/shared/customFetch.ts (+13 -0)
📝 packages/shared/inference.ts (+2 -0)

📄 Description

Fix typescript types for #656

I can't say anything about the original implementation, just went with https://stackoverflow.com/questions/46946380/fetch-api-request-timeout and fixed the types


🔄 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/1032 **Author:** [@halkeye](https://github.com/halkeye) **Created:** 2/16/2025 **Status:** ✅ Merged **Merged:** 2/16/2025 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `halkeye-custom-fetch-wrapper` --- ### 📝 Commits (5) - [`3c742ff`](https://github.com/karakeep-app/karakeep/commit/3c742ffdebbebb056468f13c9d0633145229d42b) Add configurable fetch timeout for Ollama client - [`972b5dc`](https://github.com/karakeep-app/karakeep/commit/972b5dc747d15e0bde6f975639034737768f86e8) Worker service needs access to the .env file - [`d0bd638`](https://github.com/karakeep-app/karakeep/commit/d0bd638755b91b81563084d8cafa2d95a97e4fd3) repair typescript types - [`9ade140`](https://github.com/karakeep-app/karakeep/commit/9ade140ba65aceb8ba83e8a400553a348c0b959b) Update customFetch.ts - [`193fc72`](https://github.com/karakeep-app/karakeep/commit/193fc720995562683fd27a977d243d23dc2378ad) update the config docs ### 📊 Changes **5 files changed** (+34 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `docker/docker-compose.dev.yml` (+4 -0) 📝 `docs/docs/03-configuration.md` (+13 -12) 📝 `packages/shared/config.ts` (+2 -0) ➕ `packages/shared/customFetch.ts` (+13 -0) 📝 `packages/shared/inference.ts` (+2 -0) </details> ### 📄 Description Fix typescript types for #656 I can't say anything about the original implementation, just went with https://stackoverflow.com/questions/46946380/fetch-api-request-timeout and fixed the types --- <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:55 +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#1730
No description provided.