GenAI.Thread.LegacyStateProtocol protocol (GenAI Core v0.3.1)

Copy Markdown

Summary

Types

t()

All the types that implement this protocol.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

apply_message(thread_context, message)

apply_model(thread_context, model)

apply_model_setting(thread_context, node)

apply_provider_setting(thread_context, node)

apply_safety_setting(thread_context, node)

apply_setting(thread_context, node)

apply_tool(thread_context, tool)

effective_messages(thread_context, model, context, options)

effective_model(thread_context, context, options)

effective_model_settings(thread_context, model, context, options)

effective_provider_settings(thread_context, model, context, options)

effective_safety_settings(thread_context, context, options)

effective_settings(thread_context, context, options)

effective_tools(thread_context, model, context, options)

get_artifact(thread_context, artifact)

set_artifact(thread_context, artifact, value)