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

Add CompressibleAgent #443

Merged
merged 77 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
d6761d1
api_base -> base_url (#383)
sonichi Oct 23, 2023
dfd5695
InvalidRequestError -> BadRequestError (#389)
sonichi Oct 23, 2023
c41be9c
remove api_key_path; close #388
sonichi Oct 23, 2023
c8f8cbc
Merge branch 'main' into dev/v0.2
sonichi Oct 24, 2023
2f97b8b
close #402 (#403)
sonichi Oct 24, 2023
1df493b
openai client (#419)
sonichi Oct 25, 2023
23a107a
Merge branch 'main' into dev/v0.2
sonichi Oct 25, 2023
d77b1c9
_client -> client
sonichi Oct 25, 2023
6a8eaf3
_client -> client
sonichi Oct 25, 2023
c3f58f3
extra kwargs
sonichi Oct 25, 2023
75a6f7d
Completion -> client (#426)
sonichi Oct 26, 2023
9b25c91
annotations
sonichi Oct 26, 2023
8c1626c
import
sonichi Oct 26, 2023
8d42528
reduce test
sonichi Oct 26, 2023
b8302a7
skip test
sonichi Oct 26, 2023
b09e6bb
skip test
sonichi Oct 26, 2023
f29fbc5
skip test
sonichi Oct 26, 2023
4318e0e
debug test
sonichi Oct 26, 2023
153f182
rename test
sonichi Oct 26, 2023
645d60e
update workflow
sonichi Oct 26, 2023
62eabc8
update workflow
sonichi Oct 26, 2023
f895633
env
sonichi Oct 26, 2023
a72c89d
py version
sonichi Oct 26, 2023
9073eb7
doc improvement
sonichi Oct 26, 2023
b0ad39b
docstr update
sonichi Oct 26, 2023
33de6a3
openai<1
sonichi Oct 26, 2023
fd2ba51
add compressibleagent
yiranwu0 Oct 26, 2023
0d31c15
Merge remote-tracking branch 'origin/main' into compressible
yiranwu0 Oct 27, 2023
af6d197
revise doc, add tests, add example
yiranwu0 Oct 27, 2023
d6d7d87
fix link
yiranwu0 Oct 27, 2023
5557ef9
fix link
yiranwu0 Oct 27, 2023
fd32694
fix link
yiranwu0 Oct 27, 2023
269c69a
Merge remote-tracking branch 'origin/main' into compressible
yiranwu0 Oct 27, 2023
b3ca4b4
remove test
yiranwu0 Oct 27, 2023
3e70382
update doc
yiranwu0 Oct 27, 2023
962c635
Merge branch 'main' into compressible
yiranwu0 Oct 27, 2023
f8c3e38
update doc
yiranwu0 Oct 27, 2023
b4ad91c
Merge branch 'compressible' of github.com:microsoft/autogen into comp…
yiranwu0 Oct 27, 2023
b2e7f9c
Merge branch 'main' into dev/v0.2
sonichi Oct 28, 2023
3b567c9
add tiktoken to dependency
sonichi Oct 28, 2023
3cb3930
filter_func
sonichi Oct 28, 2023
cc9f0e0
async test
sonichi Oct 29, 2023
62b0393
Merge branch 'main' into dev/v0.2
sonichi Oct 29, 2023
82f3712
dependency
sonichi Oct 29, 2023
24a74fd
revision
yiranwu0 Oct 29, 2023
420cbf0
migration guide (#477)
sonichi Oct 30, 2023
fa6fbec
Merge branch 'main' into dev/v0.2
sonichi Oct 30, 2023
e01c8ff
Merge branch 'main' into compressible
yiranwu0 Oct 30, 2023
ed1b77b
Merge branch 'main' into dev/v0.2
sonichi Oct 30, 2023
5d49694
Merge branch 'main' into compressible
yiranwu0 Oct 30, 2023
23475b2
Merge branch 'dev/v0.2' into compressible
yiranwu0 Oct 30, 2023
326b39a
update for dev
yiranwu0 Oct 30, 2023
94fe6d7
revision
yiranwu0 Oct 31, 2023
73d202e
revision
yiranwu0 Nov 3, 2023
1d7a069
allow not compressing last n msgs
yiranwu0 Nov 3, 2023
d74562b
update
yiranwu0 Nov 4, 2023
c59271a
Merge remote-tracking branch 'origin/main' into compressible
yiranwu0 Nov 4, 2023
a7a024e
correct merge
yiranwu0 Nov 4, 2023
6938716
update test workflow
yiranwu0 Nov 4, 2023
126d090
check test
yiranwu0 Nov 4, 2023
9291e7a
update for test
yiranwu0 Nov 4, 2023
78e3683
update
yiranwu0 Nov 5, 2023
b6222f5
Merge branch 'main' into compressible
yiranwu0 Nov 5, 2023
a40efb8
update notebook
yiranwu0 Nov 5, 2023
4215159
update
yiranwu0 Nov 5, 2023
1b81c33
Merge remote-tracking branch 'origin/main' into compressible
yiranwu0 Nov 5, 2023
90ba33c
fix bug
yiranwu0 Nov 6, 2023
6deee3f
update
yiranwu0 Nov 6, 2023
921c3dc
update
yiranwu0 Nov 6, 2023
9a3eac0
Merge branch 'main' into compressible
yiranwu0 Nov 7, 2023
a8f3bce
Merge branch 'main' into compressible
sonichi Nov 7, 2023
b1e5b80
update
yiranwu0 Nov 8, 2023
8614b54
Merge branch 'main' into compressible
yiranwu0 Nov 8, 2023
114a3da
Merge branch 'main' into compressible
yiranwu0 Nov 9, 2023
de770be
check to "pull_request_target" in contrib-openai
yiranwu0 Nov 9, 2023
ed21924
Merge branch 'compressible' of github.com:microsoft/autogen into comp…
yiranwu0 Nov 9, 2023
478fe41
Merge remote-tracking branch 'origin/main' into compressible
yiranwu0 Nov 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
debug test
  • Loading branch information
sonichi committed Oct 26, 2023
commit 4318e0e661f41fa2f30abc1275a4efc5c394f6e9
4 changes: 2 additions & 2 deletions .github/workflows/openai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
- 'notebook/agentchat_auto_feedback_from_code_execution.ipynb'
- 'notebook/agentchat_function_call.ipynb'
- 'notebook/agentchat_MathChat.ipynb'
- 'notebook/oai_completion.ipynb'
- 'notebook/oai_chatgpt_gpt4.ipynb'
# - 'notebook/oai_completion.ipynb'
# - 'notebook/oai_chatgpt_gpt4.ipynb'
- '.github/workflows/openai.yml'

jobs:
Expand Down
2 changes: 1 addition & 1 deletion website/docs/Contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Tests are automatically run via GitHub actions. There are two workflows:
1. [build.yml](https://github.com/microsoft/autogen/blob/main/.github/workflows/build.yml)
1. [openai.yml](https://github.com/microsoft/autogen/blob/main/.github/workflows/openai.yml)

The first workflow is required to pass for all PRs. The second workflow is required for changes that affect the openai tests. The second workflow requires approval to run. When writing tests that require openai, please use [`pytest.mark.skipif`](https://github.com/microsoft/autogen/blob/a456b512d5a933ce9707ce51c465ea35a9dd180c/test/test_with_openai.py#L13) to make them run in one python version only when openai is installed. If additional dependency for this test is required, install the dependency in the corresponding python version in [openai.yml](https://github.com/microsoft/autogen/blob/main/.github/workflows/openai.yml).
The first workflow is required to pass for all PRs. The second workflow is required for changes that affect the openai tests. The second workflow requires approval to run. When writing tests that require openai, please use [`pytest.mark.skipif`](https://github.com/microsoft/autogen/blob/main/test/test_client.py#L13) to make them run in one python version only when openai is installed. If additional dependency for this test is required, install the dependency in the corresponding python version in [openai.yml](https://github.com/microsoft/autogen/blob/main/.github/workflows/openai.yml).

### Coverage

Expand Down