@objectstack/service-ai 4.0.5 → 4.1.1

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
@@ -2382,10 +2382,11 @@ var AiConversationObject = ObjectSchema.create({
2382
2382
  maxLength: 500,
2383
2383
  description: "Conversation title or summary"
2384
2384
  }),
2385
- agent_id: Field.lookup("sys_agent", {
2385
+ agent_id: Field.text({
2386
2386
  label: "Agent",
2387
2387
  required: false,
2388
- description: "Associated AI agent"
2388
+ maxLength: 128,
2389
+ description: "Associated AI agent (metadata name \u2014 agents live as JSON in sys_metadata, no lookup table)"
2389
2390
  }),
2390
2391
  user_id: Field.lookup("sys_user", {
2391
2392
  label: "User",