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

feat(llm): convert function call request for non-funcall OSS model #4711

Merged
merged 52 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
60c7b11
remove obs prefix
xingyaoww Nov 2, 2024
239ebc4
add initial implementation of fn call converter
xingyaoww Nov 2, 2024
375e4fd
add test that handles an inference pipeline
xingyaoww Nov 2, 2024
d44bb3a
make codeact function calling by default
xingyaoww Nov 2, 2024
751b012
tweak test
xingyaoww Nov 2, 2024
b5ed70c
implement msg conversion for fncall
xingyaoww Nov 2, 2024
a9b11d7
add debug print
xingyaoww Nov 3, 2024
7532db8
add chmod after code copy
xingyaoww Nov 3, 2024
7a6a32c
handle the case for parallel function calling
xingyaoww Nov 3, 2024
69e73d5
go back to only ONE tool call support
xingyaoww Nov 3, 2024
137b30a
add conversion script from multiple messages to single
xingyaoww Nov 3, 2024
f66ee8b
Merge commit 'ba25b02978dac9da920a8b4bff2deee739ae988f' into xw/fn-ca…
xingyaoww Nov 4, 2024
1a8f1f4
add incontext learning example for fn calling conversion
xingyaoww Nov 5, 2024
7187b8e
add stop word
xingyaoww Nov 5, 2024
ac346f9
Merge commit '145194c87bafc3ba1041c87d66b2b0bee61061f5' into xw/fn-ca…
xingyaoww Nov 5, 2024
8186917
add prefix and suffix
xingyaoww Nov 6, 2024
e364c67
handle none content
xingyaoww Nov 6, 2024
e56ec22
explictly display all the parameters
xingyaoww Nov 6, 2024
a3e191c
fix bug (and dpsk output)
xingyaoww Nov 6, 2024
11b7910
fix dpsk again
xingyaoww Nov 6, 2024
d50a929
fix runtime.connect that cause swebench workspace to fail
xingyaoww Nov 7, 2024
910c046
convert response message to Litellm message structure
xingyaoww Nov 7, 2024
36063b7
check type for fncall response message
xingyaoww Nov 7, 2024
71785f2
add trailing </function>
xingyaoww Nov 7, 2024
05a4906
global replace of "<execute_bash> exit </execute_bash>"
xingyaoww Nov 7, 2024
36243fe
global replace of "<execute_bash> exit </execute_bash>"
xingyaoww Nov 7, 2024
82c25bb
remove debug
xingyaoww Nov 8, 2024
7e4b5f2
Merge commit 'a6810fa6adb1bdb58d3e1c91f9183b6909b92233' into xw/fn-ca…
xingyaoww Nov 8, 2024
7c1bacf
add error to notreadyerror
xingyaoww Nov 8, 2024
93ac44e
Revert "(feat): Prompt engineering to remind o1 to generate a patch (…
xingyaoww Nov 8, 2024
4fb2f07
fix bug on errornous message serialization
xingyaoww Nov 8, 2024
5533028
handle function call validation error
xingyaoww Nov 8, 2024
fb30ca4
by upgrading litellm
xingyaoww Nov 8, 2024
af35738
remove unused test
xingyaoww Nov 8, 2024
c9541ab
Merge commit '4ce3b9094a10cdb0a3f43b9b6043b1688c88ee1e' into xw/fn-ca…
xingyaoww Nov 8, 2024
9ff91fb
fix pending status
xingyaoww Nov 8, 2024
0c44656
remote runtime tweak
xingyaoww Nov 8, 2024
a4c67f0
remove gpt4o from fncall
xingyaoww Nov 9, 2024
3d52799
we only use pre-determined supported list for fncall
xingyaoww Nov 9, 2024
d20641b
print fc call message in info level
xingyaoww Nov 9, 2024
2e40f1f
revert remote runtime
xingyaoww Nov 9, 2024
597ceec
add really large timeout for eval specifically
xingyaoww Nov 9, 2024
87baf51
bump timeout for eval infer as well
xingyaoww Nov 9, 2024
b743c40
catch extra warnings from litellm
xingyaoww Nov 9, 2024
789c632
bump up litellm
xingyaoww Nov 9, 2024
cf672fc
do not add stuff all other model except anthropic
xingyaoww Nov 9, 2024
ddb8f01
increase init timeout for eval
xingyaoww Nov 10, 2024
60f08d2
Merge commit 'f55ddbed0eba5aaf1a75d1e72230bc9cea6c4569' into xw/fn-ca…
xingyaoww Nov 13, 2024
6291bc5
add gpt4o to fncall supported model
xingyaoww Nov 13, 2024
3687d7b
fix test
xingyaoww Nov 13, 2024
686cb7e
fix tests
xingyaoww Nov 13, 2024
628201b
Update evaluation/utils/shared.py
xingyaoww Nov 13, 2024
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
304 changes: 0 additions & 304 deletions openhands/agenthub/codeact_agent/action_parser.py

This file was deleted.

Loading