Add ability to make LLM agent forget the conversation history
This is extremely useful for testing. In order to do this I needed to actually deploy the migration to a bob fork so I could start to add support for behaviors I really want. Specifically the ability to search for ids in a slice.
This commit is contained in:
parent
b8e7b9b7fd
commit
a68b8781e7
302 changed files with 1428 additions and 1256 deletions
3
main.go
3
main.go
|
|
@ -77,7 +77,8 @@ func main() {
|
|||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
|
||||
err = llm.CreateOpenAIClient(ctx)
|
||||
openai_logger := log.With().Logger()
|
||||
err = llm.CreateOpenAIClient(ctx, &openai_logger)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("Failed to start openAI client")
|
||||
os.Exit(5)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue