Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ namespace Helicone
public partial class AgentClient
{

private static readonly global::Helicone.AutoSDKServer[] s_CreateAndEscalateThreadServers = new global::Helicone.AutoSDKServer[]
{ new global::Helicone.AutoSDKServer(
id: "https-api-helicone-ai",
name: "api.helicone.ai",
url: "https://api.helicone.ai/",
description: ""),
new global::Helicone.AutoSDKServer(
id: "http-localhost",
name: "localhost",
url: "http://localhost:8585/",
description: ""),
};


private static readonly global::Helicone.EndPointSecurityRequirement s_CreateAndEscalateThreadSecurityRequirement0 =
new global::Helicone.EndPointSecurityRequirement
Expand Down Expand Up @@ -78,7 +91,9 @@ partial void ProcessCreateAndEscalateThreadResponseContent(
{
var __pathBuilder = new global::Helicone.PathBuilder(
path: "/v1/agent/thread/create-and-escalate",
baseUri: HttpClient.BaseAddress);
baseUri: ResolveBaseUri(
servers: s_CreateAndEscalateThreadServers,
defaultBaseUrl: "https://api.helicone.ai/"));
var __path = __pathBuilder.ToString();
__path = global::Helicone.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ namespace Helicone
public partial class AgentClient
{

private static readonly global::Helicone.AutoSDKServer[] s_DeleteThreadServers = new global::Helicone.AutoSDKServer[]
{ new global::Helicone.AutoSDKServer(
id: "https-api-helicone-ai",
name: "api.helicone.ai",
url: "https://api.helicone.ai/",
description: ""),
new global::Helicone.AutoSDKServer(
id: "http-localhost",
name: "localhost",
url: "http://localhost:8585/",
description: ""),
};


private static readonly global::Helicone.EndPointSecurityRequirement s_DeleteThreadSecurityRequirement0 =
new global::Helicone.EndPointSecurityRequirement
Expand Down Expand Up @@ -83,7 +96,9 @@ partial void ProcessDeleteThreadResponseContent(
{
var __pathBuilder = new global::Helicone.PathBuilder(
path: $"/v1/agent/thread/{sessionId}",
baseUri: HttpClient.BaseAddress);
baseUri: ResolveBaseUri(
servers: s_DeleteThreadServers,
defaultBaseUrl: "https://api.helicone.ai/"));
var __path = __pathBuilder.ToString();
__path = global::Helicone.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ namespace Helicone
public partial class AgentClient
{

private static readonly global::Helicone.AutoSDKServer[] s_EscalateThreadServers = new global::Helicone.AutoSDKServer[]
{ new global::Helicone.AutoSDKServer(
id: "https-api-helicone-ai",
name: "api.helicone.ai",
url: "https://api.helicone.ai/",
description: ""),
new global::Helicone.AutoSDKServer(
id: "http-localhost",
name: "localhost",
url: "http://localhost:8585/",
description: ""),
};


private static readonly global::Helicone.EndPointSecurityRequirement s_EscalateThreadSecurityRequirement0 =
new global::Helicone.EndPointSecurityRequirement
Expand Down Expand Up @@ -83,7 +96,9 @@ partial void ProcessEscalateThreadResponseContent(
{
var __pathBuilder = new global::Helicone.PathBuilder(
path: $"/v1/agent/thread/{sessionId}/escalate",
baseUri: HttpClient.BaseAddress);
baseUri: ResolveBaseUri(
servers: s_EscalateThreadServers,
defaultBaseUrl: "https://api.helicone.ai/"));
var __path = __pathBuilder.ToString();
__path = global::Helicone.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
Expand Down
17 changes: 16 additions & 1 deletion src/libs/Helicone/Generated/Helicone.AgentClient.Generate.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ namespace Helicone
public partial class AgentClient
{

private static readonly global::Helicone.AutoSDKServer[] s_GenerateServers = new global::Helicone.AutoSDKServer[]
{ new global::Helicone.AutoSDKServer(
id: "https-api-helicone-ai",
name: "api.helicone.ai",
url: "https://api.helicone.ai/",
description: ""),
new global::Helicone.AutoSDKServer(
id: "http-localhost",
name: "localhost",
url: "http://localhost:8585/",
description: ""),
};


private static readonly global::Helicone.EndPointSecurityRequirement s_GenerateSecurityRequirement0 =
new global::Helicone.EndPointSecurityRequirement
Expand Down Expand Up @@ -84,7 +97,9 @@ partial void ProcessGenerateResponseContent(
{
var __pathBuilder = new global::Helicone.PathBuilder(
path: "/v1/agent/generate",
baseUri: HttpClient.BaseAddress);
baseUri: ResolveBaseUri(
servers: s_GenerateServers,
defaultBaseUrl: "https://api.helicone.ai/"));
var __path = __pathBuilder.ToString();
__path = global::Helicone.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ namespace Helicone
public partial class AgentClient
{

private static readonly global::Helicone.AutoSDKServer[] s_GetAllThreadsServers = new global::Helicone.AutoSDKServer[]
{ new global::Helicone.AutoSDKServer(
id: "https-api-helicone-ai",
name: "api.helicone.ai",
url: "https://api.helicone.ai/",
description: ""),
new global::Helicone.AutoSDKServer(
id: "http-localhost",
name: "localhost",
url: "http://localhost:8585/",
description: ""),
};


private static readonly global::Helicone.EndPointSecurityRequirement s_GetAllThreadsSecurityRequirement0 =
new global::Helicone.EndPointSecurityRequirement
Expand Down Expand Up @@ -78,7 +91,9 @@ partial void ProcessGetAllThreadsResponseContent(
{
var __pathBuilder = new global::Helicone.PathBuilder(
path: "/v1/agent/threads",
baseUri: HttpClient.BaseAddress);
baseUri: ResolveBaseUri(
servers: s_GetAllThreadsServers,
defaultBaseUrl: "https://api.helicone.ai/"));
var __path = __pathBuilder.ToString();
__path = global::Helicone.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
Expand Down
17 changes: 16 additions & 1 deletion src/libs/Helicone/Generated/Helicone.AgentClient.GetThread.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ namespace Helicone
public partial class AgentClient
{

private static readonly global::Helicone.AutoSDKServer[] s_GetThreadServers = new global::Helicone.AutoSDKServer[]
{ new global::Helicone.AutoSDKServer(
id: "https-api-helicone-ai",
name: "api.helicone.ai",
url: "https://api.helicone.ai/",
description: ""),
new global::Helicone.AutoSDKServer(
id: "http-localhost",
name: "localhost",
url: "http://localhost:8585/",
description: ""),
};


private static readonly global::Helicone.EndPointSecurityRequirement s_GetThreadSecurityRequirement0 =
new global::Helicone.EndPointSecurityRequirement
Expand Down Expand Up @@ -83,7 +96,9 @@ partial void ProcessGetThreadResponseContent(
{
var __pathBuilder = new global::Helicone.PathBuilder(
path: $"/v1/agent/thread/{sessionId}",
baseUri: HttpClient.BaseAddress);
baseUri: ResolveBaseUri(
servers: s_GetThreadServers,
defaultBaseUrl: "https://api.helicone.ai/"));
var __path = __pathBuilder.ToString();
__path = global::Helicone.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ namespace Helicone
public partial class AgentClient
{

private static readonly global::Helicone.AutoSDKServer[] s_ReopenThreadServers = new global::Helicone.AutoSDKServer[]
{ new global::Helicone.AutoSDKServer(
id: "https-api-helicone-ai",
name: "api.helicone.ai",
url: "https://api.helicone.ai/",
description: ""),
new global::Helicone.AutoSDKServer(
id: "http-localhost",
name: "localhost",
url: "http://localhost:8585/",
description: ""),
};


private static readonly global::Helicone.EndPointSecurityRequirement s_ReopenThreadSecurityRequirement0 =
new global::Helicone.EndPointSecurityRequirement
Expand Down Expand Up @@ -83,7 +96,9 @@ partial void ProcessReopenThreadResponseContent(
{
var __pathBuilder = new global::Helicone.PathBuilder(
path: $"/v1/agent/thread/{sessionId}/reopen",
baseUri: HttpClient.BaseAddress);
baseUri: ResolveBaseUri(
servers: s_ReopenThreadServers,
defaultBaseUrl: "https://api.helicone.ai/"));
var __path = __pathBuilder.ToString();
__path = global::Helicone.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
Expand Down
17 changes: 16 additions & 1 deletion src/libs/Helicone/Generated/Helicone.AgentClient.SearchDocs.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ namespace Helicone
public partial class AgentClient
{

private static readonly global::Helicone.AutoSDKServer[] s_SearchDocsServers = new global::Helicone.AutoSDKServer[]
{ new global::Helicone.AutoSDKServer(
id: "https-api-helicone-ai",
name: "api.helicone.ai",
url: "https://api.helicone.ai/",
description: ""),
new global::Helicone.AutoSDKServer(
id: "http-localhost",
name: "localhost",
url: "http://localhost:8585/",
description: ""),
};


private static readonly global::Helicone.EndPointSecurityRequirement s_SearchDocsSecurityRequirement0 =
new global::Helicone.EndPointSecurityRequirement
Expand Down Expand Up @@ -86,7 +99,9 @@ partial void ProcessSearchDocsResponseContent(
{
var __pathBuilder = new global::Helicone.PathBuilder(
path: "/v1/agent/mcp/search",
baseUri: HttpClient.BaseAddress);
baseUri: ResolveBaseUri(
servers: s_SearchDocsServers,
defaultBaseUrl: "https://api.helicone.ai/"));
var __path = __pathBuilder.ToString();
__path = global::Helicone.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ namespace Helicone
public partial class AgentClient
{

private static readonly global::Helicone.AutoSDKServer[] s_UpsertThreadMessageServers = new global::Helicone.AutoSDKServer[]
{ new global::Helicone.AutoSDKServer(
id: "https-api-helicone-ai",
name: "api.helicone.ai",
url: "https://api.helicone.ai/",
description: ""),
new global::Helicone.AutoSDKServer(
id: "http-localhost",
name: "localhost",
url: "http://localhost:8585/",
description: ""),
};


private static readonly global::Helicone.EndPointSecurityRequirement s_UpsertThreadMessageSecurityRequirement0 =
new global::Helicone.EndPointSecurityRequirement
Expand Down Expand Up @@ -91,7 +104,9 @@ partial void ProcessUpsertThreadMessageResponseContent(
{
var __pathBuilder = new global::Helicone.PathBuilder(
path: $"/v1/agent/thread/{sessionId}/message",
baseUri: HttpClient.BaseAddress);
baseUri: ResolveBaseUri(
servers: s_UpsertThreadMessageServers,
defaultBaseUrl: "https://api.helicone.ai/"));
var __path = __pathBuilder.ToString();
__path = global::Helicone.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
Expand Down
Loading