langtrain 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -12612,6 +12612,17 @@ var AgentClient = class {
12612
12612
  const response = await this.client.get("/agents", { params });
12613
12613
  return response.data.agents;
12614
12614
  }
12615
+ async get(agentId) {
12616
+ const response = await this.client.get(`/agents/${agentId}`);
12617
+ return response.data;
12618
+ }
12619
+ async create(agent) {
12620
+ const response = await this.client.post("/agents/", agent);
12621
+ return response.data;
12622
+ }
12623
+ async delete(agentId) {
12624
+ await this.client.delete(`/agents/${agentId}`);
12625
+ }
12615
12626
  async execute(agentId, input, messages = [], conversationId) {
12616
12627
  const response = await this.client.post(`/agents/${agentId}/execute`, {
12617
12628
  input,