ellama icon indicating copy to clipboard operation
ellama copied to clipboard

Wrong type argument: ellama-session, nil

Open mberrueta opened this issue 11 months ago • 4 comments

Hello! im using emacs 29 on linux GNU Emacs 29.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2024-02-27 (With doom if Mathers)

Im running Ollama with docker (im able to call by curl without any problem)

HTTP POST http://localhost:11434/api/generate Headers:[((Content-Type . application/json))] Body:[{
  "model": "zephyr",
  "stream": false,
  "prompt": "Why is the sky blue?"
}]

I didn't set any config. So if I run

  • llama-chat I get or: Wrong type argument: ellama-session, nil
  • ellama-get-ollama-local-mode -> process-lines-handling-status: Wrong type argument: stringp, nil
  • llama-provider-select -> llama2 and then ellama-chat -> File mode specification error: (wrong-type-argument listp keymap)

It seems that there are wrong init things?

 head ellama.el
;;; ellama.el --- Tool for interacting with LLMs -*- lexical-binding: t -*-

;; Copyright (C) 2023  Free Software Foundation, Inc.

;; Author: Sergey Kostyaev <[email protected]>
;; URL: http://github.com/s-kostyaev/ellama
;; Keywords: help local tools
;; Package-Requires: ((emacs "28.1") (llm "0.6.0") (spinner "1.7.4") (dash "2.19.1"))
;; Version: 0.8.10
;; SPDX-License-Identifier: GPL-3.0-or-later

mberrueta avatar Mar 01 '24 07:03 mberrueta