Generic LLM Configuration Support#147
Conversation
48115b7 to
86e4440
Compare
|
Thank you @spichen for following-up. |
2393a89 to
c343e6b
Compare
5f61e4c to
b21c205
Compare
|
Hi there, I am eagerly awaiting the incorporation of these changes. It cleanly unlocks a lot wider use of this standard by many individuals and organizations. Thank you! |
LlmConfig is no longer abstract. It can be used directly with model_id, provider, api_provider, api_type, url, and api_key to describe any LLM without a dedicated subclass. Existing subclasses remain unchanged. All framework adapters dispatch bare LlmConfig instances via api_provider. Schema generation handles concrete-with-subclasses via _include_subclasses_in_schema on Component. Documentation, JSON spec, and language spec updated accordingly.
- Mark api_key as SensitiveField in spec and add to sensitive fields table - Add missing url and api_key fields to reference sheet - Clarify url field defaults to API provider's default URL when null - Split adapter-specific tests into respective tests/adapters/ folders
Add test that validates a bare LlmConfig embedded in an Agent schema, ensuring subclass schemas are correctly populated in $defs when schema generation starts from a parent component (not LlmConfig itself).
…ispatch Cover openai provider basic dispatch and url+api_key passthrough for both adapters, matching the coverage already present in openaiagents and langgraph adapter tests.
…lass_schemas_exist
… JSON schema for concrete classes
…roviders.rst Co-authored-by: sonleoracle <tran.minh.son.le@oracle.com>
d3885c0 to
f1235aa
Compare
|
Internal regression failed: Build ID #427 |
|
Merge Gate failed: Build ID #658 |
|
Merge Gate INPROGRESS |
|
Internal regression failed: Build ID #454 |
|
Merge Gate failed: Build ID #659 |
|
Merge Gate INPROGRESS |
|
Internal regression failed: Build ID #455 |
|
Merge Gate failed: Build ID #660 |
|
Merge Gate INPROGRESS |
|
Internal regression failed: Build ID #456 |
|
Merge Gate failed: Build ID #661 |
|
Merge Gate INPROGRESS |
|
Internal regression failed: Build ID #457 |
|
Merge Gate failed: Build ID #662 |
|
Merge Gate INPROGRESS |
|
Internal regression failed: Build ID #458 |
|
Merge Gate failed: Build ID #663 |
|
Merge Gate INPROGRESS |
|
Internal regression succeeded 🍏: Build ID #459 |
|
Merge Gate succeeded 🍏: Build ID #664 |
Implementation of RFC #114