This pull request fixes the get_context function in main.rs to use a mutable iterator. Previously, the function used an immutable iterator, which caused issues when trying to replace certain parts of the prompt string. This change ensures that the function correctly replaces the desired parts of the prompt string and improves the overall functionality of the code.
This pull request fixes the get_context function in main.rs to use a mutable iterator. Previously, the function used an immutable iterator, which caused issues when trying to replace certain parts of the prompt string. This change ensures that the function correctly replaces the desired parts of the prompt string and improves the overall functionality of the code.