Commit 82c1de4
authored
Set `run_name` as the `gen_ai.function_id` attribute instead of `gen_ai.agent.name`.
Add tests for `AgentExecutor.invoke()` based on the existing `AgentExecutor.stream()` test. Add tests that use `create_openai_tools_agent().with_config()` to test all branches for extracting the `run_name` LangChain attribute.
1 parent c0b3869 commit 82c1de4
2 files changed
Lines changed: 472 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
975 | 975 | | |
976 | 976 | | |
977 | 977 | | |
978 | | - | |
| 978 | + | |
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
| |||
1035 | 1035 | | |
1036 | 1036 | | |
1037 | 1037 | | |
1038 | | - | |
| 1038 | + | |
1039 | 1039 | | |
1040 | 1040 | | |
1041 | 1041 | | |
| |||
0 commit comments