Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcheng1982 committed Oct 8, 2024
1 parent 4de7513 commit 77a52ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ internal const val defaultUserTextTemplate = """
{user_input}
{agent_scratchpad}
(reminder to respond in a JSON blob no matter what)
"""

class ReActJsonPromptAdvisor : CallAroundAdvisor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ object AgentBootstrap {

private fun inMemoryMessageHistoryAdvisor(agentConfig: AgentConfig): Advisor? {
return if (agentConfig.memory?.inMemory?.enabled == true) {
logger.info("Enable in-memory message history")
MessageChatMemoryAdvisor(InMemoryChatMemory())
} else null
}
Expand Down

0 comments on commit 77a52ad

Please sign in to comment.