Giter Site home page Giter Site logo

Comments (3)

sestinj avatar sestinj commented on June 4, 2024 1

@brytonsf @thinkout-pm this is a bug I will be fixing in the next couple days, but for now this is due to difference in the import path when running continue manually. If you replace all continuedev.src.continuedev. with continuedev.` in config.py, you'll no longer see this error

I'll share an update here once this is resolved

from continue.

sestinj avatar sestinj commented on June 4, 2024 1

@brytonsf @thinkout-pm I've just released a new version (v0.0.409 on VS Code Marketplace, and 0.1.49 on PyPI) that will automatically make this replacement. Next up is to solve the root cause

Let me know if there are any other problems and I can re-open, but I'm going to close this issue since I'd like any new problems to be reported separately.

from continue.

brytonsf avatar brytonsf commented on June 4, 2024

I'm getting this as well, but on a Mac M1. I run python -m continuedev, the app starts up, and then I send a message/open a connection to the server, and get the same error:
[2023-10-02 11:39:27,690] [ERROR] Failed to load config.py: ['Traceback (most recent call last):\n', ' File "/opt/homebrew/lib/python3.11/site-packages/continuedev/core/sdk.py", line 76, in create\n sdk.config = config or sdk._load_config_dot_py()\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/opt/homebrew/lib/python3.11/site-packages/continuedev/core/sdk.py", line 243, in _load_config_dot_py\n config = ContinueConfig.from_filepath(path)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/opt/homebrew/lib/python3.11/site-packages/continuedev/core/config.py", line 112, in from_filepath\n spec.loader.exec_module(config)\n', ' File "<frozen importlib._bootstrap_external>", line 940, in exec_module\n', ' File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed\n', ' File "/Users/bryton/.continue/config.py", line 7, in <module>\n from continuedev.src.continuedev.core.models import Models\n', "ModuleNotFoundError: No module named 'continuedev.src'\n"]

It still lets me chat/use Continue in VSCode, though. My local model also isn't being recognized (I changed config.py) so I assume it's falling back to some sort of defaults.

from continue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.