

























@@ -6549,6 +6549,181 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
65496549 type: "string",
65506550 minLength: 1,
65516551 },
6552+ persona: {
6553+ type: "string",
6554+ },
6555+ personas: {
6556+ type: "object",
6557+ propertyNames: {
6558+ type: "string",
6559+ },
6560+ additionalProperties: {
6561+ type: "object",
6562+ properties: {
6563+ label: {
6564+ type: "string",
6565+ },
6566+ description: {
6567+ type: "string",
6568+ },
6569+ provider: {
6570+ type: "string",
6571+ minLength: 1,
6572+ },
6573+ fallbackPolicy: {
6574+ anyOf: [
6575+ {
6576+ type: "string",
6577+ const: "preserve-persona",
6578+ },
6579+ {
6580+ type: "string",
6581+ const: "provider-defaults",
6582+ },
6583+ {
6584+ type: "string",
6585+ const: "fail",
6586+ },
6587+ ],
6588+ },
6589+ prompt: {
6590+ type: "object",
6591+ properties: {
6592+ profile: {
6593+ type: "string",
6594+ },
6595+ scene: {
6596+ type: "string",
6597+ },
6598+ sampleContext: {
6599+ type: "string",
6600+ },
6601+ style: {
6602+ type: "string",
6603+ },
6604+ accent: {
6605+ type: "string",
6606+ },
6607+ pacing: {
6608+ type: "string",
6609+ },
6610+ constraints: {
6611+ type: "array",
6612+ items: {
6613+ type: "string",
6614+ },
6615+ },
6616+ },
6617+ additionalProperties: false,
6618+ },
6619+ providers: {
6620+ type: "object",
6621+ propertyNames: {
6622+ type: "string",
6623+ },
6624+ additionalProperties: {
6625+ type: "object",
6626+ properties: {
6627+ apiKey: {
6628+ anyOf: [
6629+ {
6630+ type: "string",
6631+ },
6632+ {
6633+ oneOf: [
6634+ {
6635+ type: "object",
6636+ properties: {
6637+ source: {
6638+ type: "string",
6639+ const: "env",
6640+ },
6641+ provider: {
6642+ type: "string",
6643+ pattern: "^[a-z][a-z0-9_-]{0,63}$",
6644+ },
6645+ id: {
6646+ type: "string",
6647+ pattern: "^[A-Z][A-Z0-9_]{0,127}$",
6648+ },
6649+ },
6650+ required: ["source", "provider", "id"],
6651+ additionalProperties: false,
6652+ },
6653+ {
6654+ type: "object",
6655+ properties: {
6656+ source: {
6657+ type: "string",
6658+ const: "file",
6659+ },
6660+ provider: {
6661+ type: "string",
6662+ pattern: "^[a-z][a-z0-9_-]{0,63}$",
6663+ },
6664+ id: {
6665+ type: "string",
6666+ },
6667+ },
6668+ required: ["source", "provider", "id"],
6669+ additionalProperties: false,
6670+ },
6671+ {
6672+ type: "object",
6673+ properties: {
6674+ source: {
6675+ type: "string",
6676+ const: "exec",
6677+ },
6678+ provider: {
6679+ type: "string",
6680+ pattern: "^[a-z][a-z0-9_-]{0,63}$",
6681+ },
6682+ id: {
6683+ type: "string",
6684+ },
6685+ },
6686+ required: ["source", "provider", "id"],
6687+ additionalProperties: false,
6688+ },
6689+ ],
6690+ },
6691+ ],
6692+ },
6693+ },
6694+ additionalProperties: {
6695+ anyOf: [
6696+ {
6697+ type: "string",
6698+ },
6699+ {
6700+ type: "number",
6701+ },
6702+ {
6703+ type: "boolean",
6704+ },
6705+ {
6706+ type: "null",
6707+ },
6708+ {
6709+ type: "array",
6710+ items: {},
6711+ },
6712+ {
6713+ type: "object",
6714+ propertyNames: {
6715+ type: "string",
6716+ },
6717+ additionalProperties: {},
6718+ },
6719+ ],
6720+ },
6721+ },
6722+ },
6723+ },
6724+ additionalProperties: false,
6725+ },
6726+ },
65526727 summaryModel: {
65536728 type: "string",
65546729 },
@@ -27972,6 +28147,10 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
2797228147 sensitive: true,
2797328148 tags: ["security", "auth"],
2797428149 },
28150+"agents.list[].tts.personas.*.providers.*.apiKey": {
28151+ sensitive: true,
28152+ tags: ["security", "auth", "media"],
28153+ },
2797528154"agents.list[].tts.providers.*.apiKey": {
2797628155 sensitive: true,
2797728156 tags: ["security", "auth", "media"],
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。