mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-23 04:17:45 +00:00
Some checks are pending
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
37 lines
1.3 KiB
Python
37 lines
1.3 KiB
Python
# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
|
|
|
|
from enum import Enum
|
|
|
|
|
|
class Status(str, Enum):
|
|
confirming = "confirming"
|
|
confirmed = "confirmed"
|
|
processing = "processing"
|
|
done = "done"
|
|
|
|
|
|
DEFAULT_SUMMARY_PROMPT = (
|
|
"After completing the task, please generate"
|
|
" a summary of the entire task completion. "
|
|
"The summary must be enclosed in"
|
|
" <summary></summary> tags and include:\n"
|
|
"1. A confirmation of task completion,"
|
|
" referencing the original goal.\n"
|
|
"2. A high-level overview of the work"
|
|
" performed and the final outcome.\n"
|
|
"3. A bulleted list of key results"
|
|
" or accomplishments.\n"
|
|
"Adopt a confident and professional tone."
|
|
)
|