Class MockConfig (0.5.0)

MockConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Mock tool calls configuration for the session.

Attributes

Name Description
mocked_tool_calls MutableSequence[google.cloud.ces_v1beta.types.MockedToolCall]
Optional. All tool calls to mock for the duration of the session.
unmatched_tool_call_behavior google.cloud.ces_v1beta.types.MockConfig.UnmatchedToolCallBehavior
Required. Beavhior for tool calls that don't match any args patterns in mocked_tool_calls.

Classes

UnmatchedToolCallBehavior

UnmatchedToolCallBehavior(value)

What to do when a tool call doesn't match any mocked tool calls.