Skip to content

Commit 4579c43

Browse files
fix: apply pre-commit fixes
1 parent 74e6ac7 commit 4579c43

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Document Parser Agent
1+
# Document Parser Agent

agents/matmaster_agent/document_parser_agent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ def __init__(self, llm_config):
5252

5353
def init_document_parser_agent(llm_config) -> BaseAgent:
5454
"""Initialize Document Parser Agent"""
55-
return DocumentParserAgent(llm_config)
55+
return DocumentParserAgent(llm_config)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from agents.matmaster_agent.constant import CURRENT_ENV
22

3-
DocumentParserAgentName = "document_parser_agent"
3+
DocumentParserAgentName = 'document_parser_agent'
44

5-
if CURRENT_ENV in ["test", "uat"]:
6-
DocumentParserServerUrl = "http://pfmx1355864.bohrium.tech:50005/sse"
5+
if CURRENT_ENV in ['test', 'uat']:
6+
DocumentParserServerUrl = 'http://pfmx1355864.bohrium.tech:50005/sse'
77
else:
8-
DocumentParserServerUrl = "https://document-parser-uuid1758175282.app-space.dplink.cc/sse?token=4c9924cbb1b94bd5b74758a105e11024"
8+
DocumentParserServerUrl = 'https://document-parser-uuid1758175282.app-space.dplink.cc/sse?token=4c9924cbb1b94bd5b74758a105e11024'

agents/matmaster_agent/document_parser_agent/prompt.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
# MCP Server URL is in constant.py
66

77
# Agent Names
8-
DocumentParserAgentName = "document_parser_agent"
9-
DocumentParserSubmitAgentName = "document_parser_submit_agent"
10-
DocumentParserSubmitCoreAgentName = "document_parser_submit_core_agent"
11-
DocumentParserSubmitRenderAgentName = "document_parser_submit_render_agent"
12-
DocumentParserResultAgentName = "document_parser_result_agent"
13-
DocumentParserResultCoreAgentName = "document_parser_result_core_agent"
14-
DocumentParserResultTransferAgentName = "document_parser_result_transfer_agent"
15-
DocumentParserTransferAgentName = "document_parser_transfer_agent"
8+
DocumentParserAgentName = 'document_parser_agent'
9+
DocumentParserSubmitAgentName = 'document_parser_submit_agent'
10+
DocumentParserSubmitCoreAgentName = 'document_parser_submit_core_agent'
11+
DocumentParserSubmitRenderAgentName = 'document_parser_submit_render_agent'
12+
DocumentParserResultAgentName = 'document_parser_result_agent'
13+
DocumentParserResultCoreAgentName = 'document_parser_result_core_agent'
14+
DocumentParserResultTransferAgentName = 'document_parser_result_transfer_agent'
15+
DocumentParserTransferAgentName = 'document_parser_transfer_agent'
1616

1717
# Agent Descriptions
18-
DocumentParserAgentDescription = "Document parser agent for extracting materials science data from documents"
18+
DocumentParserAgentDescription = 'Document parser agent for extracting materials science data from documents'
1919

2020
# Agent Instructions
2121
DocumentParserAgentInstruction = """

0 commit comments

Comments
 (0)