docs(llm): note content_override None sentinel semantics
None means no override, not force-null content. Addresses review on #1064.
This commit is contained in:
parent
20544a29e8
commit
f30ab56860
|
|
@ -441,6 +441,7 @@ class OpenAIBackend:
|
|||
)
|
||||
|
||||
cache_creation, cache_read = extract_openai_cache_tokens(usage)
|
||||
# content_override=None means no override, not "force content to None"
|
||||
if content_override is not None:
|
||||
content: Any = content_override
|
||||
elif message.content is not None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue