Skip to content

[BUG] Cannot create history with the same project_id #582

@a7m-1st

Description

@a7m-1st

What version of eigent are you using?

0.0.72

System information

windows 11

Problem description

Try POST https://dev.eigent.ai/api/chat/history, then change the task_id as project_id can be not unique as in #531. But throwing 500 error.

{
  "project_id": "1761307687926-3931",
  "task_id": "1761307761464-7716",
  "user_id": null,
  "question": "search the web",
  "language": "en",
  "model_platform": "openai",
  "model_type": "gpt-4.1",
  "api_url": "cloud",
  "max_retries": 3,
  "file_save_path": "string",
  "installed_mcp": "string",
  "status": 1,
  "tokens": 0
}
{
  "project_id": "1761307687926-3931",
  "task_id": "176133333364-7000",
  "user_id": null,
  "question": "search the web",
  "language": "en",
  "model_platform": "openai",
  "model_type": "gpt-4.1",
  "api_url": "cloud",
  "max_retries": 3,
  "file_save_path": "string",
  "installed_mcp": "string",
  "status": 1,
  "tokens": 0
}

log

Image

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions