datetime

Public

Forked from karmakazi/datetime

Gives your LM Studio model real-time awareness of the current date and time.

19 Downloads

README

datetime

A lightweight LM Studio plugin that gives your local model real-time awareness of the current date and time.

What it does

Adds a get_current_datetime tool to your LM Studio chats. When you ask the model anything time-sensitive — "What day is it?", "What time is it?", "How many days until Friday?" — it automatically calls the tool and gets the live answer from your system clock.

The timezone is detected automatically from your system settings, so no configuration is needed.

Installation

From LM Studio Hub

Search for karmakazi/datetime in the LM Studio plugins section and click Install.

From source

git clone git@github.com:karmakazi/LM-Studio-date-time.git
cd datetime-plugin
npm install
lms dev

Usage

  • Enable the plugin in LM Studio
  • Start a chat with any model that supports tool calling
  • Ask something like:
    • "What time is it?"
    • "What's today's date?"
    • "What day of the week is it?"

The model will call the get_current_datetime tool and respond with the current date and time.

Requirements

  • LM Studio 0.3.x or later
  • A model with tool calling support