joshuasundance-swca commited on
Commit
2cf15f2
1 Parent(s): b3e48e9

Update AI Changelog

Browse files
Files changed (1) hide show
  1. AI_CHANGELOG.md +6 -0
AI_CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
  # AI CHANGELOG
 
 
 
 
 
 
2
  ## [Updated application version to 2.1.2](https://github.com/joshuasundance-swca/langchain-streamlit-demo/commit/3fddfc9d34f66f92255f6a0d0878e20db401d694)
3
  Mon Dec 18 11:02:13 2023 -0500
4
  - Bumped the current version of the application in the bumpver.toml file from 2.1.1 to 2.1.2.
 
1
  # AI CHANGELOG
2
+ ## [Refactor Memory Management and Remove Intermediate Steps](https://github.com/joshuasundance-swca/langchain-streamlit-demo/commit/3a2b820bcfb7ef8dc4157626de454be9267e1e91)
3
+ Tue Dec 19 09:35:23 2023 -0500
4
+ - This commit refactors the memory management in the Streamlit app and other resources. It replaces the 'AgentTokenBufferMemory' with 'ConversationBufferMemory' for a more efficient memory usage. The 'return_messages' flag is set to 'True' in the new memory management system.
5
+ - The commit also disables the return of intermediate steps in both the Streamlit app and agent execution by setting 'return_intermediate_steps' to 'False'. This change can help to improve performance by reducing unnecessary computations.
6
+ - Furthermore, the commit simplifies the 'python_coder.py' script by removing unnecessary imports and argument parsing related to 'black', 'ruff', and 'mypy'. It also removes the main execution block, indicating that this script may now be used as a module rather than a standalone script.
7
+ - The changes in this commit aim to improve performance and maintainability of the code.
8
  ## [Updated application version to 2.1.2](https://github.com/joshuasundance-swca/langchain-streamlit-demo/commit/3fddfc9d34f66f92255f6a0d0878e20db401d694)
9
  Mon Dec 18 11:02:13 2023 -0500
10
  - Bumped the current version of the application in the bumpver.toml file from 2.1.1 to 2.1.2.