2.1 KiB
2.1 KiB
-
Added additional functionality related to "thinking", for Google and Anthropic LLMs.
- New typed parameters for Google and Anthropic LLMs that control the
models' thinking behavior (like how much thinking to do, and whether to
output thoughts or thought summaries):
AnthropicLLMService.ThinkingConfigGoogleLLMService.ThinkingConfig
- New frames for representing thoughts output by LLMs:
LLMThoughtStartFrameLLMThoughtTextFrameLLMThoughtEndFrame
- A generic mechanism for associating extra LLM-specific data with a function
call in context, used specifically to support Google's function-call-related
"thought signatures", which are necessary to ensure thinking continuity
between function calls in a chain (where the model thinks, makes a function
call, thinks some more, etc.). See:
FunctionCallInProgressFrame.llm_specific_extraLLMAssistantAggregatorhandling of the above fieldGeminiLLMAdapterhandling of"tool_call_extra"context messages
- A generic mechanism for recording LLM thoughts to context, used
specifically to support Anthropic, whose thought signatures are expected to
appear alongside the text of the thoughts within assistant context
messages. See:
LLMThoughtEndFrame.signatureLLMAssistantAggregatorhandling of the above fieldAnthropicLLMAdapterhandling of"thought"context messages
- A generic mechanism for recording standalone thought signatures to context,
used specifically to support Gemini 3 Pro, which may return
non-function-call-related thought signatures at the end of
non-function-call assistant responses. See:
LLMThoughtSignatureFrameLLMAssistantAggregatorhandling of the above frameGeminiLLMAdapterhandling of"thought_signature"context messages
- An expansion of
TranscriptProcessorto process LLM thoughts in addition to user and assistant utterances. See:TranscriptProcessor.thought()ThoughtTranscriptionMessage, which may now also be emitted with the"on_transcript_update"event
- New typed parameters for Google and Anthropic LLMs that control the
models' thinking behavior (like how much thinking to do, and whether to
output thoughts or thought summaries):