Urgent.News

What's breaking now, across thousands of outlets.

Tech

TERMy installation problem

NPC-Forge is a framework for building conversational agents with distinct personalities, multi-turn context, sentiment analysis, and tool-call support. NPCs run on the CPU (web browser or OS) even on embedded systems and obsolete hardware without relying on machine learning or LLMs. #!/usr/bin/env bash # Clone the forge from the cloud git clone https://github.com/gioblu/NPC-Forge.git # Step into…

The installation issue with TERMy, a conversational agent built using the NPC-Forge framework, was caused by the command "npc-forge" not being recognized. This error occurred even after refreshing the .bashrc script. The temporary fix involved adding the local bin path to the system's PATH variable using the command "export PATH=$HOME/.local/bin:$PATH".

However, this fix was temporary and the problem persisted. The permanent solution was to clear the old cached paths and rescan the system for the new location of the NPC-Forge framework. This was done by running the command "hash -r". Additionally, it was necessary to check for any broken aliases related to the "termy" command using the command "type termy".

After navigating back to the cloned NPC-Forge folder and ensuring the script "npcs/termy/termy.sh" was executable with "chmod +x", the installation was re-run using "npc-forge install npcs/termy". Finally, the newly installed TERMy was tested by typing "termy how are you", which successfully worked.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Managing Highly Concurrent, State-Dependent Playwright Sessions

🔥 Playwright Load Test Nightmare: Silent State Pollution? Imagine thousands of concurrent e-commerce journeys, where a single test failure poisons your CI/CD.

  • Utilize Playwright's BrowserContext for test isolation
  • Create new BrowserContext in each testBeforeEach hook
  • Close context and clean backend state in testAfterEach

More from Saturday 5 September →