Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for json_utils.json_fix_llm (#2952)
* config.py: make load_dotenv(override=True) * Update Python version and benchmark file in benchmark.yml * Refactor main function and imports in cli.py * Update import statement in ai_config.py * Add set_temperature and set_memory_backend methods in config.py * Remove unused import in prompt.py * Add goal oriented tasks workflow * Added agent_utils to create agent * added pytest and vcrpy * added write file cassette * created goal oriented task write file with cassettes to not pay openai tokens * solve conflicts * add ability set azure because github workflow needs it off * solve conflicts in cli.py * black because linter fails * solve conflict * setup github action to v3 Signed-off-by: Merwane Hamadi <[email protected]> * fix conflicts Signed-off-by: Merwane Hamadi <[email protected]> * Plugins: debug line always printed in plugin load * add test for fix_json_using_multiple_techniques * style * style * mocking try_ai_fix to avoid call_ai_function * black style * mock try_ai_fix to avoid calling the AI model * removed mock, as we can add @requires_api_key("OPEN_API_KEY") * style * reverse merge conflict related files and changes * bring back the mock for try_ai_fix --------- Signed-off-by: Merwane Hamadi <[email protected]> Co-authored-by: Merwane Hamadi <[email protected]> Co-authored-by: Merwane Hamadi <[email protected]> Co-authored-by: Richard Beales <[email protected]> Co-authored-by: Nicholas Tindle <[email protected]> Co-authored-by: BillSchumacher <[email protected]>
- Loading branch information