continue icon indicating copy to clipboard operation
continue copied to clipboard

Add support for Rift AI language server

Open jesse-michael-han opened this issue 2 years ago • 2 comments

Hello! Congrats on the release. It would be great to get Continue working with Rift, an open-source AI-native language server written in Python. Rift also supports many popular third-party coding agents out of the box such as smol-developer, gpt-engineer, and aider through the Rift Agents API, which can be easily represented as Steps in the SDK.

Is your feature request related to a problem? Please describe. Continue does not have access to language server functionality, which can power more intelligent code search and understanding.

Describe the solution you'd like Rift can be spun up as a part of the Continue server as a separate process that can be communicated with via TCP, like other language servers. It can run in the main event loop:

pip install pyrift
from rift.server.core import create_metaserver

... # other stuff in your event loop

metaserver = create_metaserver("127.0.0.1", 7797)
asyncio.create_task(metaserver.run_forever()) 

Describe alternatives you've considered n/a

Additional context I'd love to stand up a PR and get the ball rolling here! We're on Discord as well for synchronous collaboration, ping us anytime.

jesse-michael-han avatar Jul 27 '23 20:07 jesse-michael-han

Hi Jesse! I think this sounds quite interesting. Could you explain a little more about how you see the language server aspect coming into play with Continue? I think it would be great to be able to offer access to "goto definition" and other related functionalities in our SDK—is this what rift is made to do, or would the integration in your mind be more about embedding agents in Continue? Also would be helpful to hear some quick examples / use cases about what such a Step would do.

Let me know! Excited to hear more

sestinj avatar Jul 28 '23 22:07 sestinj

Hey @jesse-michael-han, just wanted to check in on this. Would be quite cool to support Rift!

sestinj avatar Aug 03 '23 08:08 sestinj

It's been a minute since this issue, but I'm going through and trying to clean up. Very happy to be able to do so knowing that we were able to integrate phorm : )

sestinj avatar May 23 '24 01:05 sestinj