AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

How to Switch Between Open-Weight Models and Web Search Sources in HuggingChat

Yu Jinquan · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

Most AI chat platforms lock you into a single proprietary ecosystem. Open the app, and you get whichever frontier model the vendor decided to serve this week, hooked to a search crawler you cannot inspect or constrain. HuggingChat flips that setup on its head. Built on the open-source chat-ui stack, HuggingChat lets you switch between flagship open-weight models—from Meta’s Llama to Alibaba’s Qwen and DeepSeek—while toggling live web grounding directly from the browser.

At 365Finds, we treat HuggingChat as an indispensable staging ground. But the interface hides a critical distinction that trips up first-time users: while model switching happens right in the primary navigation, granular control over web search sources requires stepping into HuggingChat Assistants.

Here is exactly how to configure both, along with the operational trade-offs 365Finds watches closely.


1. Switching Open-Weight Models in HuggingChat

HuggingChat does not force you to run local hardware or manage Hugging Face Inference Endpoints to test current open weights. You can change your active model in three clicks.

Step-by-Step Model Switching

  1. Locate the Model Picker: Look at the top navigation bar or the header above the central conversation window. You will see the active model name (for example, meta-llama/Llama-3.3-70B-Instruct or Qwen/Qwen2.5-72B-Instruct).
  2. Open the Model Drawer: Click the model title or open the model directory directly via huggingface.co/chat/models. A modal displays the roster of currently hosted open-weight models.
  3. Inspect the Specs: Each card details the model creator, context window length, training cutoff, and license terms.
  4. Activate the Model: Click Activate on your chosen model. HuggingChat immediately swaps the inference backend for your next message.
[Top Navigation / Settings]
       │
       ▼
[Model Selector / Models Page] ──► [Filter by Architecture / Creator]
       │
       ├─► Manual Selection (e.g., Llama 3.3 70B, Qwen 2.5 72B, Command R+)
       │
       └─► Omni Router (Dynamic intent-based auto-routing)

The "Omni" Router: When to Avoid It

HuggingChat includes an Omni routing option. Omni attempts to read the semantic intent of your prompt and route it dynamically—sending code puzzles to coding specialists and reasoning problems to math-heavy models.

Our assessment at 365Finds is straightforward: turn Omni off if you care about evaluation or consistency. Dynamic routing sounds elegant on paper, but it strips away prompt reproducibility. If you are comparing how a prompt behaves across different parameter scales or need deterministic style, lock in an exact model manually.

365Finds Model Recommendations


2. Managing Web Search in Standard Chat

Web search in HuggingChat is powered by a retrieval-augmented generation (RAG) pipeline. When active, HuggingChat uses a dedicated query-generation pass, fetches relevant results from its web indexer (typically Serper on the public instance), scrapes page HTML into clean Markdown, embeds the passages, and injects the top matching text chunks into the prompt context.

Enabling Real-Time Web Search

  1. Open a new or existing chat thread.
  2. In the text input bar at the bottom, find the Web Search toggle icon (a globe symbol).
  3. Click to turn it on (the icon highlights).
  4. Type your query and submit.
User Prompt ──► [Query Generation] ──► [Search Provider API (Serper)]
                                              │
                                              ▼
[LLM Synthesized Response] ◄── [Chunk Injection] ◄── [Scrape & Markdown Embed]

Auditing Search Sources

Never take grounded answers on faith. HuggingChat displays an expandable Sources drawer beneath or inside the generated answer.


3. Configuring Web Search Sources via HuggingChat Assistants

In standard chat, HuggingChat does not allow you to change the underlying search engine or filter search results to specific domains. The search pipeline queries the open web without domain restrictions.

To steer what web sources the model is allowed to read, you must use HuggingChat Assistants (huggingface.co/chat/assistants).

Configuring Targeted Web Sources

  1. Navigate to the sidebar and click Assistants, or go to huggingface.co/chat/assistants.
  2. Click Create New Assistant.
  3. Under Model, choose the open-weight foundation model you want backing the assistant.
  4. Scroll to Internet Access. HuggingChat provides four distinct operating modes:
Search Configuration ModeHow It WorksIdeal Use Case
Enabled (Default)Standard open-web search across all discoverable sites.Broad news and general trend tracking.
Domain SearchAppends strict site: constraints to retrieved queries.Technical documentation, compliance guidelines, or legal research.
Specific LinksLoads up to 10 specific URLs directly into context.Auditing specific whitepapers, annual reports, or API docs.
Dynamic LinksPulls pages dynamically using {{url=https://...}} in prompts.Live data feeds, changing JSON endpoints, or webhook scraping.
DisabledCompletely cuts internet access.Sensitive draft analysis where zero external requests are permitted.
HuggingChat Assistant Settings
 ├── Select Base Model (e.g., Llama 3.3 70B)
 └── Internet Access Configuration
      ├── [ ] Disabled (Zero network calls)
      ├── [ ] Enabled (Unrestricted web RAG)
      ├── [x] Domain Search ──► Enter: docs.python.org, github.com
      ├── [ ] Specific Links ──► Paste up to 10 static target URLs
      └── [ ] Dynamic Links ──► {{url=https://api.example.com/status}}

The 365Finds Domain Search Recipe

When 365Finds builds research assistants inside HuggingChat, we almost always select Domain Search over open web search. Open search often fetches sponsored listicles, generic SEO aggregation blogs, and outdated forum discussions.

Restricting your assistant to curated domains—such as github.com, arxiv.org, developer.mozilla.org, or specific official documentation subdomains—dramatically improves output fidelity. The open-weight model stops hallucinating opinions from commercial blogs and instead synthesizes exact technical references.


4. Why Model Selection Changes Web Search Quality

Switching models while web search is enabled produces wildly different results. A common mistake is assuming that any 70-billion-parameter model handles web grounding identically.

  1. RAG-Trained vs. Raw Base Models: Models like Cohere’s Command R+ are explicitly pre-trained on multi-hop citation grounding. When search snippets arrive in its context window, Command R+ reliably marks in-line references and rejects contradictory snippets.
  2. Reasoning Models with Search: Pairing DeepSeek-R1 with open web search can cause the model's <think> trace to loop over minor discrepancies between two scraped articles. It is deeply informative, but slow.
  3. Context Length Truncation: While HuggingChat compresses search results before feeding them to the model (roughly 8,000 characters of scraped text), smaller models with strict context windows can lose user instructions when large Markdown scrapes fill the buffer.

If your primary goal is factual research backed by verifiable links, select Cohere Command R+ or Llama 3.3 70B, switch Internet Access to Domain Search, and verify every link in the Sources drawer before acting on the conclusions.


References