Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Automated] Merge release into main #199

Merged
merged 28 commits into from
Oct 1, 2024
Merged

[Automated] Merge release into main #199

merged 28 commits into from
Oct 1, 2024

Conversation

ProKil
Copy link
Member

@ProKil ProKil commented Sep 24, 2024

Automated Pull Request

ProKil and others added 25 commits May 28, 2024 15:08
…ption for all generation methods, to avoid future OpenAI API changes break Sotopia running. (#196)

* Two major updates: 1) add "bad_output_process_model" option to all `agenerate_xxx()` methods so users can decide which model to use for handling bad outputs. By default, this is set to be `gpt-4o-mini`. 2) add `use_fixed_model_version` option for all generation methods, as some fixed model version may no longer available in the future. Users should have the right to bypass the fixed model version mapping instead of getting stuck in an error. Document (`generation.md`) has been updated for these two major changes correspondingly.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Chenghao Yang <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Copy link

codecov bot commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.42%. Comparing base (830c4b0) to head (db8839e).
Report is 2 commits behind head on main.

@@            Coverage Diff             @@
##             main     #199      +/-   ##
==========================================
+ Coverage   69.37%   69.42%   +0.05%     
==========================================
  Files          56       56              
  Lines        2971     2973       +2     
==========================================
+ Hits         2061     2064       +3     
+ Misses        910      909       -1     
Files with missing lines Coverage Δ
sotopia/agents/generate_agent_background.py 23.33% <ø> (ø)
sotopia/agents/llm_agent.py 43.68% <ø> (ø)
sotopia/envs/parallel.py 78.37% <ø> (ø)
sotopia/generation_utils/generate.py 56.00% <100.00%> (+0.68%) ⬆️
tests/envs/test_parallel.py 100.00% <ø> (ø)
tests/generation_utils/test_generation.py 81.81% <ø> (ø)
tests/sampler/test_sampler.py 100.00% <ø> (ø)

@XuhuiZhou
Copy link
Member

@ProKil @yangalan123 I tried to fix the test errors by switching models, but somehow the tests did not read the latest files. Any ideas on this?

@XuhuiZhou XuhuiZhou self-requested a review September 27, 2024 18:50
@ProKil ProKil merged commit 785669c into main Oct 1, 2024
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants