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

feat: add chat actions #180

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

aliaksandr-trush
Copy link
Contributor

@aliaksandr-trush aliaksandr-trush commented Apr 24, 2024

Start adding chat actions functionality.
Already able to send GenerateCode prompt, but unable to receive response yet (need to find how to receive chat response).

@aliaksandr-trush
Copy link
Contributor Author

Receiving error on server logs:
E0504 23:30:17.785258 1108311 wire_format.go:24] Error unmarshalling request: proto: cannot parse invalid wire-format data
E0504 23:30:17.785309 1108311 web_server.go:166] ParseRequest error: proto: cannot parse invalid wire-format data

For request:
{"get_chat_message_request": {"chat_messages": [{"in_progress": false, "source": "CHAT_MESSAGE_SOURCE_USER", "intent": {"explain_function": {"language": 20, "file_path": "/home/user/Projects/CodeiumJetBrains/src/main/kotlin/com/codeium/intellij/chat_server_client/ChatServerClient.kt", "function_info": {"definitionLine": 45, "cleanFunction": "fun getClientUrl(): String {\n return "http://127.0.0.1:${languageServerService.chatClientPort}"\n}", "rawSource": "/** Get the full http:// URL for the chat client. /\nfun getClientUrl(): String {\n return "http://127.0.0.1:${languageServerService.chatClientPort}"\n}", "language": "LANGUAGE_KOTLIN", "leadingWhitespace": " ", "startLine": 44, "params": "()", "startCol": 2, "docstring": "Get the full http:// URL for the chat client./", "nodeName": "getClientUrl", "endCol": 3, "endLine": 47}}}, "conversation_id": "l5xMoayMvmLRbB7yO6dSc4i6DeLt3EbS", "timestamp": {"nanos": 1.233246e10, "seconds": 1714858569}, "message_id": "user-12332463000"}], "metadata": {"extension_name": "neovim", "ide_name": "neovim", "request_id": 79, "api_key": "5cf09402-0460-47cc-a015-7d519fa37bb0", "extension_version": "1.8.25", "ide_version": "0.9.5"}}}

Could somebody help me find the reason of such errors?

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.

None yet

1 participant