File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -404,6 +404,9 @@ async def _run_async_impl(
404404 ):
405405 raw_result = part .function_response .response ['result' ]
406406 results = json .loads (raw_result .content [0 ].text )
407+ logger .info (
408+ f"[SubmitCoreCalculationMCPLlmAgent] results = { results } "
409+ )
407410 origin_job_id = results ['job_id' ]
408411 job_name = part .function_response .name
409412 job_status = results ['status' ]
Original file line number Diff line number Diff line change 3636 DFLOW_K8S_API_SERVER = 'https://workflows.deepmodeling.com'
3737 BOHRIUM_API_URL = 'https://bohrium-api.dp.tech'
3838
39- OpenAPIJobAPI = f"{ OPENAPI_HOST } /openapi/v1/job"
39+ OpenAPIJobAPI = f"{ OPENAPI_HOST } /openapi/v1/sandbox/ job"
4040
4141MATERIALS_ACCESS_KEY = str (os .getenv ('MATERIALS_ACCESS_KEY' ))
4242MATERIALS_PROJECT_ID = int (os .getenv ('MATERIALS_PROJECT_ID' ))
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class JobResult(BaseModel):
5151
5252class BohrJobInfo (BaseModel ):
5353 origin_job_id : str
54- job_id : int
54+ job_id : Union [ int , str ]
5555 job_query_url : str
5656 job_detail_url : str
5757 job_status : JobStatus
Original file line number Diff line number Diff line change 2626] = 'registry.dp.tech/dptech/dp/native/prod-788025/structure-generate-agent:small'
2727StructureGenerateBohriumExecutor ['machine' ]['remote_profile' ][
2828 'machine_type'
29- ] = 'c8_m31_1 * NVIDIA T4 '
29+ ] = 'c8_m32_1 * NVIDIA 4090 '
3030
3131sse_params = SseServerParams (url = StructureGenerateServerUrl )
3232
Original file line number Diff line number Diff line change 33StructureGenerateAgentName = 'structure_generate_agent'
44
55if CURRENT_ENV in ['test' , 'uat' ]:
6- StructureGenerateServerUrl = 'http://pfmx1355864 .bohrium.tech:50003 /sse'
6+ StructureGenerateServerUrl = 'http://hftp1387064 .bohrium.tech:50001 /sse'
77else :
88 StructureGenerateServerUrl = 'https://cystalformer-uuid1754551471.app-space.dplink.cc/sse?token=1750cd294e6c4270946ae37107a725ff'
You can’t perform that action at this time.
0 commit comments