Skip to content

Add ChatService#501

Merged
lossyrob merged 26 commits intomasterfrom
feature/chat
Feb 8, 2025
Merged

Add ChatService#501
lossyrob merged 26 commits intomasterfrom
feature/chat

Conversation

@lossyrob
Copy link
Copy Markdown
Contributor

@lossyrob lossyrob commented Feb 5, 2025

This PR adds a new ChatService to pgtoolsservice, which enables Github Copilot integration.

This is based off of the branch in #500 . This should be updated once #500 merges.

Some other improvements/fixes were made, which are captured in separate commits.

@lossyrob lossyrob requested review from a team as code owners February 5, 2025 03:31
@lossyrob lossyrob force-pushed the feature/chat branch 2 times, most recently from 933a494 to e70cc0b Compare February 5, 2025 17:54
@lossyrob lossyrob mentioned this pull request Feb 6, 2025
This solves issue with running in dev mode with vs code extension requiring copying ossdbtoolsservice_main.py out to the top level of the repo.
@lossyrob lossyrob force-pushed the feature/chat branch 2 times, most recently from 3563ecb to 6247560 Compare February 6, 2025 22:31
Main motivation here is to create separate code paths for pyinstaller if using a web server vs json rpc server. The pyinstaller targeting vscode was including ssl, which produced some issues on mac osx arm in loading openssl shared libraries. These were only required for the web server, and this refactor produces different code paths for web server vs rpc server context such that ssl and other web server dependencies will not be included in the pyinstaller.
This pins numpy to an older version that was built latest on macosx 11 in order to force support for older versions of mac. With 2.2.2, the mac 14 wheel is pulled because the runner is mac 14; this is causing incompatibility with older OS's.
@lossyrob lossyrob merged commit 3f6994b into master Feb 8, 2025
@lossyrob lossyrob deleted the feature/chat branch February 8, 2025 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants