Merge pull request #1861 from arc53/docs-agents-update

Agent docs upd
This commit is contained in:
Alex
2025-06-25 09:23:09 +01:00
committed by GitHub
4 changed files with 389 additions and 2 deletions

View File

@@ -614,7 +614,7 @@ class Answer(Resource):
try:
question = data["question"]
history = limit_chat_history(
json.loads(data.get("history", [])), gpt_model=gpt_model
json.loads(data.get("history", "[]")), gpt_model=gpt_model
)
conversation_id = data.get("conversation_id")
prompt_id = data.get("prompt_id", "default")