Commit c6dbfd1
committed
🔧 Simplify token limit handling across providers
Remove direct token limit parameter handling in provider configurations
This change streamlines how token limits are managed across different LLM
providers by:
- Removing token_limit injection in ProviderConfig to LLMProviderConfig
conversion
- Adding explicit token_limit parameter filtering in OpenAI provider
- Removing special Claude 3.7 token limit handling logic
These changes make token limit handling more consistent and maintainable
while preserving the functionality through provider-specific implementations.1 parent 77e6861 commit c6dbfd1
3 files changed
+5
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
| 250 | + | |
256 | 251 | | |
257 | 252 | | |
258 | 253 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 38 | | |
43 | 39 | | |
44 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
0 commit comments