mergen Version 0.2.0
2024-01-29
- URLs in DESCRIPTION added
- new feature: now users can specify openai-like APIs by providing url
and setting agent name as “generic” in setupAgent() function
- new feature: clean_code_blocks() now automatically runs when
extractCode() is called
- new feature: sendPrompt() now can send previous message
correspondence with LLM APIs via “previous.msgs” argument
- new feature: selfcorrect() has a new argument called
responseWithErrors (default:NULL), via this argument users can input
problematic responses to the selfcorrect() function instead of getting
the initial response and potentially failing.
- new function: runCodeInResponse() can take LLM response and directly
run code, and tries to fix if there are errors.
- new function: sampleResponse() function tries to fix code errors by
repatedly sampling new solutions to the existing prompts
- fix: typos in setupAgent fixed
- fix: sendPrompt fixed which was broken due to openai API
changes
- fix: extractInstallPkg can now deal with require() calls in code
blocks
- updated help pages accordingly