Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@codebase not working on PyCharm #1589

Open
1 of 3 tasks
fracapuano opened this issue Jun 27, 2024 · 5 comments
Open
1 of 3 tasks

@codebase not working on PyCharm #1589

fracapuano opened this issue Jun 27, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@fracapuano
Copy link

Before submitting your bug report

Relevant environment info

- OS: macOS Sonoma 14.4.1
- Continue: 0.0.50
- IDE: PyCharm 2024.1.3

Description

Hello there 👋 We have been having issues with making @codebase work on PyCharm. We get answers indicating the LLM does not actually have access to the codebase itself.

cc. @Charles-Go @agerlic

To reproduce

  1. Ping @codebase asking it information about a specific function
    p

Log output

[2024-06-27T13:31:55] Table not found in LanceDB <absolute path to current folder>
@fracapuano fracapuano added the bug Something isn't working label Jun 27, 2024
@popovanton0
Copy link

popovanton0 commented Jun 29, 2024

I have the same problem.

  • OS: macOS Sonoma 14.5
  • Continue: 0.0.50
  • IDE: Android Studio Koala Feature Drop 2024.1.2 Canary 8, Build #AI-241.18034.62.2412.12022747
  • ollama: 0.1.48
  • nomic-embed-text: 1.5
config.json contents
{
  "models": [
    {
      "title": "Codestral",
      "provider": "ollama",
      "model": "codestral"
    }
  ],
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Codestral",
    "provider": "ollama",
    "model": "codestral"
  },
  "allowAnonymousTelemetry": false,
  "embeddingsProvider": {
    "provider": "ollama",
    "model": "nomic-embed-text"
  }
}

@sestinj
Copy link
Contributor

sestinj commented Jun 30, 2024

If either of you get the chance to take a look it might be helpful to see what the exact error is (at least the format of the <absolute path to current folder>). Either way I think it is related to something that has been solved and should be in the next release

@popovanton0
Copy link

popovanton0 commented Jun 30, 2024

I got

Table not found in LanceDB UsersantonpopovAndroidStudioProjectsflamingo-androidmainvectordbnomic-embed-text

Interestingly, i just found out that continue plugin works on other projects of mine, but not this one. Maybe it has something to do with its name?

@fracapuano
Copy link
Author

@popovanton0 seems like a slash is missing in the path no? 🤔

@popovanton0
Copy link

I guess table names cannot have slashes in them. Because other projects work 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants