Socket
Book a DemoInstallSign in
Socket

@theia/ai-llamafile

Package Overview
Dependencies
Maintainers
11
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theia/ai-llamafile

Theia - Llamafile Integration

latest
Source
npmnpm
Version
1.64.1
Version published
Maintainers
11
Created
Source

AI Llamafile Integration

The AI Llamafile package provides an integration that allows users to manage and interact with Llamafile language models within Theia IDE.

Features

  • Start and stop Llamafile language servers.

Commands

Start Llamafile

  • Command ID: llamafile.start
  • Label: Start Llamafile
  • Functionality: Allows you to start a Llamafile language server by selecting from a list of configured Llamafiles.

Stop Llamafile

  • Command ID: llamafile.stop
  • Label: Stop Llamafile
  • Functionality: Allows you to stop a running Llamafile language server by selecting from a list of currently running Llamafiles.

Usage

  • Starting a Llamafile Language Server:

    • Use the command palette to invoke Start Llamafile.
    • A quick pick menu will appear with a list of configured Llamafiles.
    • Select a Llamafile to start its language server.
  • Stopping a Llamafile Language Server:

    • Use the command palette to invoke Stop Llamafile.
    • A quick pick menu will display a list of currently running Llamafiles.
    • Select a Llamafile to stop its language server.

Dependencies

This extension depends on the @theia/ai-core package for AI-related services and functionalities.

Configuration

Make sure to configure your Llamafiles properly within the preference settings. This setting is an array of objects, where each object defines a llamafile with a user-friendly name, the file uri, and the port to start the server on.

Example Configuration:

{
    "ai-features.llamafile.llamafiles": [
        {
            "name": "MyLlamaFile",
            "uri": "file:///path/to/my.llamafile",
            "port": 30000
        }
    ]
}

Keywords

theia-extension

FAQs

Package last updated on 07 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts