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.js CHANGED
@@ -12620,6 +12620,17 @@ var AgentClient = class {
12620
12620
  const response = await this.client.get("/agents", { params });
12621
12621
  return response.data.agents;
12622
12622
  }
12623
+ async get(agentId) {
12624
+ const response = await this.client.get(`/agents/${agentId}`);
12625
+ return response.data;
12626
+ }
12627
+ async create(agent) {
12628
+ const response = await this.client.post("/agents/", agent);
12629
+ return response.data;
12630
+ }
12631
+ async delete(agentId) {
12632
+ await this.client.delete(`/agents/${agentId}`);
12633
+ }
12623
12634
  async execute(agentId, input, messages = [], conversationId) {
12624
12635
  const response = await this.client.post(`/agents/${agentId}/execute`, {
12625
12636
  input,