Fix: Set default DB_URL to pgvector connection in init#39
Open
ldemesla wants to merge 1 commit intoxoxruns:mainfrom
Open
Fix: Set default DB_URL to pgvector connection in init#39ldemesla wants to merge 1 commit intoxoxruns:mainfrom
ldemesla wants to merge 1 commit intoxoxruns:mainfrom
Conversation
Users no longer need to manually enter the database URL during initialization. The DB_URL now defaults to the pgvector container connection string (postgresql://postgres:postgres@localhost:54320/codeindexerdb) that gets automatically set up during the init process. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Set default DB_URL to the pgvector connection string during initialization, eliminating the need for users to manually enter the database URL.
Changes
init_cli_config()ininit.pyto default DB_URL topostgresql://postgres:postgres@localhost:54320/codeindexerdbProblem Solved
Previously, users had to manually enter the database URL during
deadend init, even though the pgvector container was automatically set up with a known connection string. This was confusing and led to potential connection errors if users left it blank or entered incorrect values.Test plan
deadend initand verify DB_URL defaults to pgvector connection string🤖 Generated with Claude Code