Table of Contents

Class PerplexityAgentOptions

Namespace
Mythosia.AI.Models.Perplexity
Assembly
Mythosia.AI.Abstractions.dll

Persistent Agent API configuration. Each logical request captures a deep copy.

public sealed class PerplexityAgentOptions
Inheritance
PerplexityAgentOptions
Inherited Members

Constructors

PerplexityAgentOptions()

public PerplexityAgentOptions()

Properties

DisableWebSearch

Disable the adapter's default web search tool. Explicit Tools still apply.

public bool DisableWebSearch { get; set; }

Property Value

bool

LanguagePreference

public string? LanguagePreference { get; set; }

Property Value

string

MaxSteps

Zero uses the provider default. Positive values bound the hosted agent loop.

public int MaxSteps { get; set; }

Property Value

int

ModelOverride

Explicit model override, including when a preset is selected.

public string? ModelOverride { get; set; }

Property Value

string

Models

Fallback models in priority order, at most five. Overrides the single model.

public IReadOnlyList<string>? Models { get; set; }

Property Value

IReadOnlyList<string>

Preset

public PerplexityPreset? Preset { get; set; }

Property Value

PerplexityPreset?

PreviousResponseId

Completed response to continue. Use StatelessMode and send only the new turn.

public string? PreviousResponseId { get; set; }

Property Value

string

Profile

A saved configuration. Cannot be combined with Preset.

public PerplexityProfile? Profile { get; set; }

Property Value

PerplexityProfile

PromptCacheKey

public string? PromptCacheKey { get; set; }

Property Value

string

ReasoningEffort

Auto omits the setting. Other levels require support from the selected model.

public ReasoningLevel ReasoningEffort { get; set; }

Property Value

ReasoningLevel

ServiceTier

public PerplexityServiceTier? ServiceTier { get; set; }

Property Value

PerplexityServiceTier?

Skills

public IReadOnlyList<PerplexitySkill>? Skills { get; set; }

Property Value

IReadOnlyList<PerplexitySkill>

Store

Controls retrieval visibility, not server persistence. False does not disable retention.

public bool? Store { get; set; }

Property Value

bool?

Tools

Explicit hosted tools. A web_search entry replaces the adapter's default entry.

public List<PerplexityHostedTool> Tools { get; set; }

Property Value

List<PerplexityHostedTool>

Methods

Clone()

public PerplexityAgentOptions Clone()

Returns

PerplexityAgentOptions