npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@drx974/n8n-nodes-deepseek-fixed

v0.1.3

Published

DeepSeek Chat Model for n8n AI Agent — fixes strict tool-schema rejection and reasoning_content passback

Readme

@drx974/n8n-nodes-deepseek-fixed

Nœud DeepSeek Chat Model "maison" pour l'AI Agent n8n. Corrige les deux bugs documentés qui cassent le Tool Calling avec DeepSeek dans n8n :

  1. Rejet du schéma strict : DeepSeek renvoie une erreur 400 ("Required properties must match...") quand n8n envoie strict: true dans la définition JSON Schema des tools. Ce nœud ne transmet jamais ce flag, quel que soit ce que l'AI Agent essaie de passer.

  2. reasoning_content non renvoyé : en Thinking Mode, DeepSeek exige que le reasoning_content du tour précédent soit renvoyé tel quel dès que ce tour contenait des tool_calls, sinon 400 ("The reasoning_content in the thinking mode must be passed back to the API"). Ce nœud stocke ce champ sur chaque message assistant et le réinjecte automatiquement au tour suivant — Thinking Mode reste utilisable même avec des tools.

Par défaut, Thinking Mode est désactivé (le plus sûr avec Tool Calling) ; vous pouvez l'activer (high / max) si vous voulez le raisonnement chain-of-thought sur cet agent.

Build

npm install
npm run build

Déploiement recommandé (le plus sûr, évite l'incident déjà rencontré)

Ne PAS faire npm install à la main dans le container n8n (ça duplique les dépendances et peut casser le chargement des nodes, comme déjà vécu).

Méthode recommandée : publier sur npm puis installer via l'UI n8n

npm login                # une fois, avec un compte npm (peut être le vôtre)
npm publish --access public

Puis, dans n8n : Settings → Community Nodes → Install, coller le nom du package @drx974/n8n-nodes-deepseek-fixed, cocher la case de risque, Install, puis redémarrer le container n8n (obligatoire pour que le node se charge, surtout en mode queue).

Si vous préférez ne pas publier publiquement, publiez sous un nom scope privé (@votre-compte/n8n-nodes-deepseek-fixed) avec un compte npm payant "private package", ou utilisez un registre npm privé si vous en avez un (Verdaccio, GitHub Packages, etc.) — le flux d'installation via l'UI reste identique.

Utilisation dans l'AI Agent

  1. Ajouter le nœud DeepSeek Chat Model (Fixed)
  2. Credential : coller votre clé API DeepSeek (DeepSeek Fixed API)
  3. Le connecter à l'entrée "Chat Model" de l'AI Agent
  4. Laisser Thinking Mode = Disabled pour du Tool Calling simple, ou passer à high/max si vous voulez le raisonnement — les deux fonctionnent avec les tools.
  5. Connecter vos tools comme d'habitude.

Icône

Logo DeepSeek (icons8 "3D Fluency"), redimensionné en 60×60 PNG conformément aux recommandations n8n, appliqué au nœud et au type de credential. Licence gratuite icons8 = attribution requise (lien vers icons8.com) sauf si vous disposez d'un plan payant sans attribution — à vérifier avant publication publique si ça vous importe.

Limites connues

  • Pas de support du streaming token-par-token (_generate uniquement, pas de _streamResponseChunks) — suffisant pour l'usage AI Agent classique, mais à garder en tête si vous branchez ça sur un chat en streaming.
  • Testé par compilation TypeScript stricte contre @langchain/[email protected] et [email protected] (versions au 10/07/2026) — à revalider si n8n monte une version majeure différente de LangChain en interne.