Refactor to Remove Config Manager and Optimize Settings #83
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
This PR focuses on removing the deprecated
config_manager
and associated configuration file saving functionality while introducing key improvements across the codebase.Key Changes
1. Remove
config_manager
config_manager
module and configuration file handling.2. Enhance Settings Management
initialize_with_params
method for dynamic configuration.3. Integrate
LlamaIndex
chat_with_repo
to usellama_index
for enhanced functionality:llama_index.vector_stores.chroma
andllama_index.embeddings.openai
.ChatPromptTemplate
for consistent prompt management.4. Refactor CLI
print_hierarchy
from a subcommand to an option (--print-hierarchy
) in therun
command for streamlined usage.5. Logging Improvements
tiktoken
dependency; token usage is now retrieved directly from API responses.6. Additional Updates
README
to include GitHub Actions support.chat-with-repo
as an optional dependency inpyproject.toml
.config.toml.template
andsync_func
).Checklist
config_manager
and its dependencies.