R Under development (unstable) (2025-04-13 r88141 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(PacketLLM) > > test_check("PacketLLM") Resetting history manager... Creating new conversation with ID: conv_1_1744749068 and title: Standard Model Test Added default settings (SysMsg, Temp) and model ( gpt-4o ) to conversation conv_1_1744749068 Set active conversation to ID: conv_1_1744749068 Set model for conversation conv_1_1744749068 to: gpt-4o Added attachment att1.txt to conversation conv_1_1744749068 Added user message to conv_1_1744749068 Title generation: Detected regular text message. Set title for conv_1_1744749068 to: User question for standard model Preparing API messages: Using standard logic for model gpt-4o Preparing API messages: Prepending system message. Preparing API messages: Including context from 1 attachments. Preparing API messages: Appended attachment content to the system message. Resetting history manager... Resetting history manager... Creating new conversation with ID: conv_1_1744749068 and title: Simplified Model Test Added default settings (SysMsg, Temp) and model ( gpt-4o ) to conversation conv_1_1744749068 Set active conversation to ID: conv_1_1744749068 Set model for conversation conv_1_1744749068 to: o1 Added attachment att_ignored.txt to conversation conv_1_1744749068 Added user message to conv_1_1744749068 Title generation: Detected regular text message. Set title for conv_1_1744749068 to: User question 1 Added assistant message to conv_1_1744749068 Model for conversation conv_1_1744749068 has been locked. Added system message to conv_1_1744749068 Added user message to conv_1_1744749068 Preparing API messages: Using simplified logic for model o1 Resetting history manager... Resetting history manager... Creating new conversation with ID: conv_1_1744749068 and title: Conversation 22:31:08 Added default settings (SysMsg, Temp) and model ( gpt-4o ) to conversation conv_1_1744749068 Set active conversation to ID: conv_1_1744749068 Set model for conversation conv_1_1744749068 to: gpt-4o Preparing API messages: Using standard logic for model gpt-4o Preparing API messages: Prepending system message. Preparing API messages: No attachments to include. Preparing API messages: Added placeholder user message for standard model API call. Resetting history manager... Resetting history manager... Creating new conversation with ID: conv_1_1744749068 and title: Conversation 22:31:08 Added default settings (SysMsg, Temp) and model ( gpt-4o ) to conversation conv_1_1744749068 Set active conversation to ID: conv_1_1744749068 Set model for conversation conv_1_1744749068 to: o1 Added assistant message to conv_1_1744749068 Model for conversation conv_1_1744749068 has been locked. Preparing API messages: Using simplified logic for model o1 Preparing API messages: Added placeholder user message for simplified model. Resetting history manager... Resetting history manager... Creating new conversation with ID: conv_1_1744749068 and title: Test Create 1 Added default settings (SysMsg, Temp) and model ( gpt-4o ) to conversation conv_1_1744749068 Creating new conversation with ID: conv_2_1744749068 and title: Test Create 2 Added default settings (SysMsg, Temp) and model ( gpt-4o ) to conversation conv_2_1744749068 Set active conversation to ID: conv_2_1744749068 Deleting conversation with ID: conv_1_1744749068 Deleting conversation with ID: conv_2_1744749068 Deleted the active conversation. Resetting active_conversation_id. Resetting history manager... Resetting history manager... Creating new conversation with ID: conv_1_1744749068 and title: Conversation 22:31:08 Added default settings (SysMsg, Temp) and model ( gpt-4o ) to conversation conv_1_1744749068 Set active conversation to ID: conv_1_1744749068 Set model for conversation conv_1_1744749068 to: gpt-4o-mini Resetting history manager... Resetting history manager... Creating new conversation with ID: conv_1_1744749068 and title: Conversation 22:31:08 Added default settings (SysMsg, Temp) and model ( gpt-4o ) to conversation conv_1_1744749068 Set active conversation to ID: conv_1_1744749068 Added user message to conv_1_1744749068 Title generation: Detected regular text message. Set title for conv_1_1744749068 to: Test message Added attachment file.txt to conversation conv_1_1744749068 File named file.txt already exists in conversation conv_1_1744749068 . Not adding again. Resetting history manager... Resetting history manager... Creating new conversation with ID: conv_1_1744749068 and title: Conversation 22:31:08 Added default settings (SysMsg, Temp) and model ( gpt-4o ) to conversation conv_1_1744749068 Set active conversation to ID: conv_1_1744749068 Added user message to conv_1_1744749068 Title generation: Detected regular text message. Set title for conv_1_1744749068 to: test user Added system message to conv_1_1744749068 Added assistant message to conv_1_1744749068 Model for conversation conv_1_1744749068 has been locked. Resetting history manager... [ FAIL 0 | WARN 7 | SKIP 0 | PASS 86 ] [ FAIL 0 | WARN 7 | SKIP 0 | PASS 86 ] > > proc.time() user system elapsed 1.18 0.32 1.51