Skip to content

Commit fea8d86

Browse files
ProKilXuhuiZhouyangalan123
authored
[Automated] Merge release into main (sotopia-lab#181)
* bump the version, test release to PyPi * Update README.md * Update README.md * Update README.md * bumpy version to 0.0.9 * Update Sotopia presentation information in README.md * bump version to 0.0.10 * bump version * add merge release back to main action * change checkout v4->v3 * fix merge-back-to-main and pin mypy to <1.11.0 * merge bug fix * upgrade default model to handle bad-foratted outputs to gpt-4o-mini as gpt-3.5-turbo is deprecated (sotopia-lab#183) * update pull request -> pull request target * bump version --------- Co-authored-by: XuhuiZhou <[email protected]> Co-authored-by: Chenghao (Alan) Yang <[email protected]>
1 parent e780720 commit fea8d86

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- main
1111
- release
1212
- dev
13-
pull_request:
13+
pull_request_target:
1414
branches:
1515
- main
1616
- release

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "sotopia"
3-
version = "0.1.0-rc.1"
3+
version = "0.1.0-rc.3"
44
description = "A platform for simulating and evaluating social interaction."
55
authors = ["Hao Zhu <[email protected]>, Xuhui Zhou <[email protected]>"]
66
license = "MIT License"

sotopia/generation_utils/generate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def format_bad_output_for_script(
391391
ill_formed_output: str,
392392
format_instructions: str,
393393
agents: list[str],
394-
model_name: str = "gpt-3.5-turbo",
394+
model_name: str = "gpt-4o-mini",
395395
) -> BaseMessage:
396396
template = """
397397
Given the string that can not be parsed by a parser, reformat it to a string that can be parsed by the parser which uses the following format instructions. Do not add or delete any information.
@@ -425,7 +425,7 @@ def format_bad_output_for_script(
425425
def format_bad_output(
426426
ill_formed_output: BaseMessage,
427427
format_instructions: str,
428-
model_name: str = "gpt-3.5-turbo",
428+
model_name: str = "gpt-4o-mini",
429429
) -> BaseMessage:
430430
template = """
431431
Given the string that can not be parsed by json parser, reformat it to a string that can be parsed by json parser.

0 commit comments

Comments
 (0)