Commit a40f255
fix: restore legacy provider field names for backward compatibility
Keep old provider-specific field names (anthropic.cache_*, openai.*,
completion/*, prompt/*) alongside the new OTel-standard field names
so existing integrations that depend on the legacy keys continue to work.1 parent fbca6d1 commit a40f255
6 files changed
Lines changed: 11 additions & 0 deletions
File tree
- python
- packages
- anthropic
- agent_framework_anthropic
- tests
- openai
- agent_framework_openai
- tests/openai
- samples/02-agents/tools
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
| 1026 | + | |
1026 | 1027 | | |
1027 | 1028 | | |
| 1029 | + | |
1028 | 1030 | | |
1029 | 1031 | | |
1030 | 1032 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2352 | 2352 | | |
2353 | 2353 | | |
2354 | 2354 | | |
| 2355 | + | |
| 2356 | + | |
2355 | 2357 | | |
2356 | 2358 | | |
2357 | 2359 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2980 | 2980 | | |
2981 | 2981 | | |
2982 | 2982 | | |
| 2983 | + | |
2983 | 2984 | | |
2984 | 2985 | | |
| 2986 | + | |
2985 | 2987 | | |
2986 | 2988 | | |
2987 | 2989 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
766 | 766 | | |
767 | 767 | | |
768 | 768 | | |
| 769 | + | |
769 | 770 | | |
770 | 771 | | |
771 | 772 | | |
772 | 773 | | |
773 | 774 | | |
774 | 775 | | |
775 | 776 | | |
| 777 | + | |
776 | 778 | | |
777 | 779 | | |
778 | 780 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3300 | 3300 | | |
3301 | 3301 | | |
3302 | 3302 | | |
| 3303 | + | |
3303 | 3304 | | |
3304 | 3305 | | |
3305 | 3306 | | |
| |||
3318 | 3319 | | |
3319 | 3320 | | |
3320 | 3321 | | |
| 3322 | + | |
3321 | 3323 | | |
3322 | 3324 | | |
3323 | 3325 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments