Skip to content

integrated Ollama, web search & doc upload - #77

Open
Fran-cruz wants to merge 3 commits into
yoannchb-pro:mainfrom
Fran-cruz:main
Open

integrated Ollama, web search & doc upload#77
Fran-cruz wants to merge 3 commits into
yoannchb-pro:mainfrom
Fran-cruz:main

Conversation

@Fran-cruz

@Fran-cruz Fran-cruz commented Jul 4, 2026

Copy link
Copy Markdown

Pull Request

Description
This pull request adds local document uploads for lightweight RAG-style context, web search support for Ollama, and improved Ollama configuration including a timeout setting and Esc-to-cancel behavior. It also refines the popup UI and updates the README with the new workflow and setup instructions.

Related Issue

Changes Made

  • Added support for uploading local text documents in the popup.
  • Stored uploaded documents locally and used them as retrieval context for answers.
  • Added a Web search before answering toggle for Ollama.
  • Implemented a local proxy search route so web search works without browser CORS issues (may happen only on my machine).
  • Added an Ollama timeout setting in the popup.
  • Made 0 mean no automatic timeout for Ollama, with Esc held for 2 seconds used to cancel a request.
  • Improved popup styling for the new document and web search controls.
  • Updated the README with Ollama setup, proxy usage, web search, and document workflow instructions.

Screenshots (if applicable)

  • Ollama settings
image
  • Web search and uploaded documents options
image

Checklist

  • I have tested the changes locally.
  • I have updated the documentation accordingly.
  • All tests pass successfully.

Additional Notes

  • The Ollama setup is recommended to use the local proxy at http://127.0.0.1:8787/v1.
  • Uploaded documents currently support lightweight text-based files for the first version.
  • Web search and document context are both meant to improve answer quality for Ollama-based runs.

Reviewer(s)
@Fran-cruz

Fran-cruz added 3 commits July 4, 2026 10:41
…etier ui

Ollama provider for local AI model, web search capability using DuckDuckGo search engine, document upload (see supported formats)
…etier ui

Ollama provider for local AI model, web search capability using DuckDuckGo search engine, document upload (see supported formats)
@yoannchb-pro

Copy link
Copy Markdown
Owner

Hey,
Thx you for your participation and hard work :)
I have a lot of work this month so it might be a bit complicate for me to review during july but when I'll be available I'll check all this !

@yoannchb-pro

Copy link
Copy Markdown
Owner

Just it would be nice if host could support all port instead of localhost:xxxx/*

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

Successfully merging this pull request may close these issues.

Add "Request timeout" configuration option Ajouter un document a l'extension

2 participants