continue icon indicating copy to clipboard operation
continue copied to clipboard

IntelliJ: Create New Session not creating a session in history.

Open IngLP opened this issue 6 months ago • 0 comments

Before submitting your bug report

Relevant environment info

- OS: macOS 14.6.1
- Continue: 0.0.56
- IDE: IntelliJ
- Model: Sonnet 3.5
- config.json:
  
{
  "models": [
    {
      "model": "gpt-4o",
      "title": "GPT-4o",
      "apiKey": 
      "completionOptions": {},
      "provider": "openai"
    },
    {
      "model": "gpt-4o-mini",
      "title": "GPT-4o-mini",
      "apiKey": 
      "completionOptions": {},
      "provider": "openai"
    },
    {
      "title": "Codestral",
      "provider": "mistral",
      "model": "codestral-latest",
      "apiKey": 
    },
    {
      "title": "claude-3.5-sonnet",
      "provider": "anthropic",
      "model": "claude-3-5-sonnet-20240620",
      "apiKey": 
    },
    {
      "title": "Gemini Pro",
      "provider": "gemini",
      "model": "gemini-1.5-pro-latest",
      "apiKey":
    },
    {
      "title": "Gemini Pro Exp 0801",
      "provider": "gemini",
      "model": "gemini-1.5-pro-exp-0801",
      "apiKey": 
    },
    {
      "title": "Gemini Flash",
      "provider": "gemini",
      "model": "gemini-1.5-flash-latest",
      "apiKey": 
    }
  ],
  "slashCommands": [
    {
      "name": "edit",
      "description": "Edit selected code"
    },
    {
      "name": "comment",
      "description": "Write comments for the selected code"
    },
    {
      "name": "share",
      "description": "Export this session as markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "onboard",
      "description": "Familiarize yourself with the codebase"
    }
  ],
  "customCommands": [
    {
      "name": "test",
      "prompt": "Write a comprehensive set of unit tests, using a PyTest class. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete. Give the tests just as chat output, don't edit any file. Prefer literal values instead of computed ones. Do this for {{{ input }}}",
      "description": "Write unit tests for "
    },
    {
      "name": "check",
      "description": "Check for mistakes in my code",
      "prompt": "{{{ input }}}\n\nPlease read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant:\n- Syntax errors\n- Logic errors\n- Security vulnerabilities\n- Performance issues\n- Anything else that looks wrong\n\nOnce you find an error, please explain it as clearly as possible, but without using extra words. For example, instead of saying 'I think there is a syntax error on line 5', you should say 'Syntax error on line 5'. Give your answer as one bullet point per mistake found."
    }
  ],
  "contextProviders": [
    {
      "name": "open",
      "params": {}
    },
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "url"
    },
    {
      "name": "codebase",
      "params": {
        "nRetrieve": 70,
        "nFinal": 30,
        "useReranking": true
      }
    },
    {
      "name": "tree"
    }
  ],
  "embeddingsProvider": {
    "provider": "openai",
    "model": "voyage-code-2",
    "apiBase": "https://api.voyageai.com/v1/",
    "apiKey": 
  },
  "reranker": {
    "name": "free-trial"
  },
  "tabAutocompleteModel": {
    "title": "Codestral",
    "provider": "mistral",
    "model": "codestral-latest",
    "apiKey": 
  },
  "tabAutocompleteOptions": {
    "maxPromptTokens": 32000,
    "debounceDelay": 2000,
    "maxSuffixPercentage": 0.3
  },
  "allowAnonymousTelemetry": false
}

Description

No new sessions are created when you click on New session. They are only created when you open IntelliJ

To reproduce

  1. Open Intellij
  2. have a small conversation
  3. click on new session, have a 2nd conversation
  4. click on new session, have a 3rd conversation
  5. open history, you won't find the 2nd conversation, only the first
  6. restart intelliJ. in history neither the 3rd session will be present.

Log output

No errors logged.

IngLP avatar Aug 23 '24 11:08 IngLP