GoogleInteractionsFinish
Namespace: Vercel.AI.Google
public static class GoogleInteractionsFinishMaps an Interactions API status onto a finish reason.
Inheritance: object
Methods
Section titled “Methods”Map(string?, bool)
Section titled “Map(string?, bool)”public static FinishReason Map(string? status, bool hasFunctionCall)completed is a tool call when the response contains a client function call.
requires_action is always a tool call.
Parameters
| Name | Type | Description |
|---|---|---|
status |
string | |
hasFunctionCall |
bool |
Returns: FinishReason
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product