Skip to content

Add openai_api model for explorer#523

Merged
pan-x-c merged 14 commits into
agentscope-ai:mainfrom
hiyuchang:feat/openai_engine
Apr 7, 2026
Merged

Add openai_api model for explorer#523
pan-x-c merged 14 commits into
agentscope-ai:mainfrom
hiyuchang:feat/openai_engine

Conversation

@hiyuchang
Copy link
Copy Markdown
Collaborator

@hiyuchang hiyuchang commented Apr 3, 2026

Description

  • OpenAI API for explorer
  • OpenAI API for auxilary models

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has passed all tests
  • Docstrings have been added/updated in Google Style
  • Documentation has been updated
  • Code is ready for review

Comment thread trinity/common/models/openai_api_model.py Outdated
Comment thread trinity/common/models/external_model.py
@hiyuchang
Copy link
Copy Markdown
Collaborator Author

/unittest-module-common

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 7, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
58 56 1 1 0 0 10m 55s

Failed Tests

Failed Tests ❌ Fail Message
❌ tests/common/config_test.py::TestConfig::test_all_examples_are_valid The test failed in the call phase due to an exception

Skipped

Tests Status
tests/common/vllm_test.py::TestTinkerAsyncAPIServer::test_api_async skipped ⏭️

Tests

Test Name Status Flaky Duration
tests/common/config_test.py::TestConfig::test_all_examples_are_valid 3.0s
tests/common/config_test.py::TestConfig::test_chat_template_path 77ms
tests/common/config_test.py::TestConfig::test_config_flatten 32ms
tests/common/config_test.py::TestConfig::test_continue_from_checkpoint_is_valid 160ms
tests/common/config_test.py::TestConfig::test_default_workflow 77ms
tests/common/config_test.py::TestConfig::test_load_default_config 1.5s
tests/common/config_test.py::TestConfig::test_max_token_len_per_gpu_set_correctly 78ms
tests/common/config_test.py::TestConfig::test_optimizer_config_propagation 78ms
tests/common/config_test.py::TestConfig::test_update_config_from_ray_cluster 1.4s
tests/common/experience_test.py::TestEID::test_eid_properties 1ms
tests/common/experience_test.py::TestExperience::test_action_mask_and_logprobs_type 1ms
tests/common/experience_test.py::TestExperience::test_assertions 1ms
tests/common/experience_test.py::TestExperience::test_deserialize_legacy_pickle_payload 2ms
tests/common/experience_test.py::TestExperience::test_deserialize_single_rejects_batch_payload 1ms
tests/common/experience_test.py::TestExperience::test_dpo_experience 1ms
tests/common/experience_test.py::TestExperience::test_hf_datasets_conversion 20ms
tests/common/experience_test.py::TestExperience::test_multi_turn_experience 1ms
tests/common/experience_test.py::TestExperience::test_serialize_deserialize 1ms
tests/common/experience_test.py::TestExperience::test_serialize_many_deserialize_many 1ms
tests/common/experience_test.py::TestExperience::test_serialize_many_with_shared_multimodal_tensor 1ms
tests/common/experience_test.py::TestExperience::test_single_turn_experience 1ms
tests/common/experience_test.py::TestExperience::test_to_dict 1ms
tests/common/experience_test.py::TestExperienceConversion::test_experience_model_experience_conversion 1ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_first_message_is_assistant 843ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_messages_empty 512ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_no_assistant_messages 724ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_normal_conversation_data 507ms
tests/common/openai_api_test.py::TestOpenaiAPIModel::test_openai_api_model_basic 52.4s
tests/common/sudoku_test.py::test_9x9_generator_produces_valid_solution 1ms
tests/common/sudoku_test.py::test_9x9_generator_creates_holes 1ms
tests/common/sudoku_test.py::test_9x9_solution_is_fully_filled 1ms
tests/common/sudoku_test.py::test_judge_allows_incomplete_board 1ms
tests/common/sudoku_test.py::test_judge_detects_row_violation 1ms
tests/common/sudoku_test.py::test_judge_detects_column_violation 1ms
tests/common/sudoku_test.py::test_judge_detects_block_violation 1ms
tests/common/sudoku_test.py::test_4x4_generator_produces_valid_solution 1ms
tests/common/sudoku_test.py::test_4x4_solution_is_fully_filled 1ms
tests/common/sudoku_test.py::test_4x4_judge_detects_row_violation 1ms
tests/common/sudoku_test.py::test_4x4_judge_detects_block_violation 1ms
tests/common/vllm_test.py::ModelWrapperTest_0::test_generate 1m 4s
tests/common/vllm_test.py::ModelWrapperTest_1::test_generate 47.2s
tests/common/vllm_test.py::ModelWrapperTest_2::test_generate 53.3s
tests/common/vllm_test.py::TestModelLen_0::test_model_len 31.2s
tests/common/vllm_test.py::TestModelLen_1::test_model_len 24.0s
tests/common/vllm_test.py::TestModelLen_2::test_model_len 27.8s
tests/common/vllm_test.py::TestModelLenWithoutPromptTruncation::test_model_len 33.2s
tests/common/vllm_test.py::TestMessageProcess::test_no_prompt_truncation 27.0s
tests/common/vllm_test.py::TestMessageProcess::test_truncation_status 27.4s
tests/common/vllm_test.py::TestAPIServer::test_api 26.2s
tests/common/vllm_test.py::TestLogprobs::test_logprobs_api 24.1s
tests/common/vllm_test.py::TestAsyncAPIServer::test_api_async 25.4s
tests/common/vllm_test.py::TestTinkerAsyncAPIServer::test_api_async ⏭️ 1ms
tests/common/vllm_test.py::TestTokenizer::test_action_mask 541ms
tests/common/vllm_test.py::TestTokenizer::test_action_mask_with_tools 782ms
tests/common/vllm_test.py::TestAPIServerToolCall_0_deepseek_r1::test_api_tool_calls 31.8s
tests/common/vllm_test.py::TestAPIServerToolCall_1::test_api_tool_calls 25.9s
tests/common/vllm_test.py::TestSuperLongGeneration::test_generate 1m 14s
tests/common/vllm_test.py::TestTinkerAPI::test_tinker_api 44.0s

Github Test Reporter by CTRF 💚

@hiyuchang
Copy link
Copy Markdown
Collaborator Author

/unittest-pattern-test_all_examples_are_valid

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 7, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
1 1 0 0 0 0 31.3s

Tests

Test Name Status Flaky Duration
tests/common/config_test.py::TestConfig::test_all_examples_are_valid 22.2s

Github Test Reporter by CTRF 💚

@hiyuchang
Copy link
Copy Markdown
Collaborator Author

/unittest-module-common

Comment thread trinity/common/models/__init__.py Outdated
Comment thread trinity/common/models/external_model.py Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 7, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
58 57 0 1 0 0 14m 28s

Skipped

Tests Status
tests/common/vllm_test.py::TestTinkerAsyncAPIServer::test_api_async skipped ⏭️

Tests

Test Name Status Flaky Duration
tests/common/config_test.py::TestConfig::test_all_examples_are_valid 23.7s
tests/common/config_test.py::TestConfig::test_chat_template_path 80ms
tests/common/config_test.py::TestConfig::test_config_flatten 33ms
tests/common/config_test.py::TestConfig::test_continue_from_checkpoint_is_valid 164ms
tests/common/config_test.py::TestConfig::test_default_workflow 77ms
tests/common/config_test.py::TestConfig::test_load_default_config 1.5s
tests/common/config_test.py::TestConfig::test_max_token_len_per_gpu_set_correctly 79ms
tests/common/config_test.py::TestConfig::test_optimizer_config_propagation 78ms
tests/common/config_test.py::TestConfig::test_update_config_from_ray_cluster 1.4s
tests/common/experience_test.py::TestEID::test_eid_properties 1ms
tests/common/experience_test.py::TestExperience::test_action_mask_and_logprobs_type 1ms
tests/common/experience_test.py::TestExperience::test_assertions 1ms
tests/common/experience_test.py::TestExperience::test_deserialize_legacy_pickle_payload 2ms
tests/common/experience_test.py::TestExperience::test_deserialize_single_rejects_batch_payload 1ms
tests/common/experience_test.py::TestExperience::test_dpo_experience 1ms
tests/common/experience_test.py::TestExperience::test_hf_datasets_conversion 13ms
tests/common/experience_test.py::TestExperience::test_multi_turn_experience 1ms
tests/common/experience_test.py::TestExperience::test_serialize_deserialize 1ms
tests/common/experience_test.py::TestExperience::test_serialize_many_deserialize_many 1ms
tests/common/experience_test.py::TestExperience::test_serialize_many_with_shared_multimodal_tensor 1ms
tests/common/experience_test.py::TestExperience::test_single_turn_experience 1ms
tests/common/experience_test.py::TestExperience::test_to_dict 1ms
tests/common/experience_test.py::TestExperienceConversion::test_experience_model_experience_conversion 1ms
tests/common/external_model_test.py::TestExternalModel::test_external_model 50.2s
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_first_message_is_assistant 811ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_messages_empty 514ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_no_assistant_messages 764ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_normal_conversation_data 505ms
tests/common/sudoku_test.py::test_9x9_generator_produces_valid_solution 1ms
tests/common/sudoku_test.py::test_9x9_generator_creates_holes 1ms
tests/common/sudoku_test.py::test_9x9_solution_is_fully_filled 1ms
tests/common/sudoku_test.py::test_judge_allows_incomplete_board 1ms
tests/common/sudoku_test.py::test_judge_detects_row_violation 1ms
tests/common/sudoku_test.py::test_judge_detects_column_violation 1ms
tests/common/sudoku_test.py::test_judge_detects_block_violation 1ms
tests/common/sudoku_test.py::test_4x4_generator_produces_valid_solution 1ms
tests/common/sudoku_test.py::test_4x4_solution_is_fully_filled 1ms
tests/common/sudoku_test.py::test_4x4_judge_detects_row_violation 1ms
tests/common/sudoku_test.py::test_4x4_judge_detects_block_violation 1ms
tests/common/vllm_test.py::ModelWrapperTest_0::test_generate 1m 5s
tests/common/vllm_test.py::ModelWrapperTest_1::test_generate 48.6s
tests/common/vllm_test.py::ModelWrapperTest_2::test_generate 42.1s
tests/common/vllm_test.py::TestModelLen_0::test_model_len 31.3s
tests/common/vllm_test.py::TestModelLen_1::test_model_len 24.4s
tests/common/vllm_test.py::TestModelLen_2::test_model_len 28.1s
tests/common/vllm_test.py::TestModelLenWithoutPromptTruncation::test_model_len 27.8s
tests/common/vllm_test.py::TestMessageProcess::test_no_prompt_truncation 27.5s
tests/common/vllm_test.py::TestMessageProcess::test_truncation_status 32.4s
tests/common/vllm_test.py::TestAPIServer::test_api 26.0s
tests/common/vllm_test.py::TestLogprobs::test_logprobs_api 23.7s
tests/common/vllm_test.py::TestAsyncAPIServer::test_api_async 25.4s
tests/common/vllm_test.py::TestTinkerAsyncAPIServer::test_api_async ⏭️ 1ms
tests/common/vllm_test.py::TestTokenizer::test_action_mask 567ms
tests/common/vllm_test.py::TestTokenizer::test_action_mask_with_tools 811ms
tests/common/vllm_test.py::TestAPIServerToolCall_0_deepseek_r1::test_api_tool_calls 32.2s
tests/common/vllm_test.py::TestAPIServerToolCall_1::test_api_tool_calls 32.6s
tests/common/vllm_test.py::TestSuperLongGeneration::test_generate 4m 31s
tests/common/vllm_test.py::TestTinkerAPI::test_tinker_api 42.4s

Github Test Reporter by CTRF 💚

Comment thread trinity/common/models/external_model.py
Comment thread docs/sphinx_doc/source/tutorial/trinity_configs.md Outdated
Comment thread docs/sphinx_doc/source/tutorial/trinity_configs.md Outdated
Comment thread examples/bench/external_model.yaml Outdated
@hiyuchang
Copy link
Copy Markdown
Collaborator Author

/unittest-module-common

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 7, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
59 58 0 1 0 0 12m 14s

Skipped

Tests Status
tests/common/vllm_test.py::TestTinkerAsyncAPIServer::test_api_async skipped ⏭️

Tests

Test Name Status Flaky Duration
tests/common/config_test.py::TestConfig::test_all_examples_are_valid 23.3s
tests/common/config_test.py::TestConfig::test_chat_template_path 79ms
tests/common/config_test.py::TestConfig::test_config_flatten 33ms
tests/common/config_test.py::TestConfig::test_continue_from_checkpoint_is_valid 467ms
tests/common/config_test.py::TestConfig::test_default_workflow 78ms
tests/common/config_test.py::TestConfig::test_load_default_config 1.4s
tests/common/config_test.py::TestConfig::test_max_token_len_per_gpu_set_correctly 78ms
tests/common/config_test.py::TestConfig::test_optimizer_config_propagation 79ms
tests/common/config_test.py::TestConfig::test_update_config_from_ray_cluster 1.4s
tests/common/experience_test.py::TestEID::test_eid_properties 1ms
tests/common/experience_test.py::TestExperience::test_action_mask_and_logprobs_type 1ms
tests/common/experience_test.py::TestExperience::test_assertions 1ms
tests/common/experience_test.py::TestExperience::test_deserialize_legacy_pickle_payload 2ms
tests/common/experience_test.py::TestExperience::test_deserialize_single_rejects_batch_payload 1ms
tests/common/experience_test.py::TestExperience::test_dpo_experience 1ms
tests/common/experience_test.py::TestExperience::test_hf_datasets_conversion 14ms
tests/common/experience_test.py::TestExperience::test_multi_turn_experience 1ms
tests/common/experience_test.py::TestExperience::test_serialize_deserialize 1ms
tests/common/experience_test.py::TestExperience::test_serialize_many_deserialize_many 1ms
tests/common/experience_test.py::TestExperience::test_serialize_many_with_shared_multimodal_tensor 1ms
tests/common/experience_test.py::TestExperience::test_single_turn_experience 1ms
tests/common/experience_test.py::TestExperience::test_to_dict 1ms
tests/common/experience_test.py::TestExperienceConversion::test_experience_model_experience_conversion 1ms
tests/common/external_model_test.py::TestExternalModel::test_external_model 50.8s
tests/common/external_model_test.py::TestExternalModelLoad::test_external_model_load 952ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_first_message_is_assistant 820ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_messages_empty 519ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_no_assistant_messages 757ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_normal_conversation_data 496ms
tests/common/sudoku_test.py::test_9x9_generator_produces_valid_solution 1ms
tests/common/sudoku_test.py::test_9x9_generator_creates_holes 1ms
tests/common/sudoku_test.py::test_9x9_solution_is_fully_filled 1ms
tests/common/sudoku_test.py::test_judge_allows_incomplete_board 1ms
tests/common/sudoku_test.py::test_judge_detects_row_violation 1ms
tests/common/sudoku_test.py::test_judge_detects_column_violation 1ms
tests/common/sudoku_test.py::test_judge_detects_block_violation 1ms
tests/common/sudoku_test.py::test_4x4_generator_produces_valid_solution 1ms
tests/common/sudoku_test.py::test_4x4_solution_is_fully_filled 1ms
tests/common/sudoku_test.py::test_4x4_judge_detects_row_violation 1ms
tests/common/sudoku_test.py::test_4x4_judge_detects_block_violation 1ms
tests/common/vllm_test.py::ModelWrapperTest_0::test_generate 1m 4s
tests/common/vllm_test.py::ModelWrapperTest_1::test_generate 48.0s
tests/common/vllm_test.py::ModelWrapperTest_2::test_generate 52.6s
tests/common/vllm_test.py::TestModelLen_0::test_model_len 32.3s
tests/common/vllm_test.py::TestModelLen_1::test_model_len 24.0s
tests/common/vllm_test.py::TestModelLen_2::test_model_len 31.7s
tests/common/vllm_test.py::TestModelLenWithoutPromptTruncation::test_model_len 27.1s
tests/common/vllm_test.py::TestMessageProcess::test_no_prompt_truncation 27.7s
tests/common/vllm_test.py::TestMessageProcess::test_truncation_status 27.8s
tests/common/vllm_test.py::TestAPIServer::test_api 26.4s
tests/common/vllm_test.py::TestLogprobs::test_logprobs_api 23.7s
tests/common/vllm_test.py::TestAsyncAPIServer::test_api_async 25.4s
tests/common/vllm_test.py::TestTinkerAsyncAPIServer::test_api_async ⏭️ 1ms
tests/common/vllm_test.py::TestTokenizer::test_action_mask 579ms
tests/common/vllm_test.py::TestTokenizer::test_action_mask_with_tools 795ms
tests/common/vllm_test.py::TestAPIServerToolCall_0_deepseek_r1::test_api_tool_calls 32.4s
tests/common/vllm_test.py::TestAPIServerToolCall_1::test_api_tool_calls 25.9s
tests/common/vllm_test.py::TestSuperLongGeneration::test_generate 2m 14s
tests/common/vllm_test.py::TestTinkerAPI::test_tinker_api 43.7s

Github Test Reporter by CTRF 💚

Comment thread trinity/common/models/model.py Outdated
@hiyuchang
Copy link
Copy Markdown
Collaborator Author

/unittest-pattern-test_external_model_load

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 7, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
1 0 1 0 0 0 11.1s

Failed Tests

Failed Tests ❌ Fail Message
❌ tests/common/external_model_test.py::TestExternalModelLoad::test_external_model_load The test failed in the call phase

Tests

Test Name Status Flaky Duration
tests/common/external_model_test.py::TestExternalModelLoad::test_external_model_load 2.0s

Github Test Reporter by CTRF 💚

@hiyuchang
Copy link
Copy Markdown
Collaborator Author

/unittest-pattern-test_external_model_load

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 7, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
1 1 0 0 0 0 12.4s

Tests

Test Name Status Flaky Duration
tests/common/external_model_test.py::TestExternalModelLoad::test_external_model_load 3.5s

Github Test Reporter by CTRF 💚

@hiyuchang
Copy link
Copy Markdown
Collaborator Author

/unittest-module-common

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 7, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
59 58 0 1 0 0 14m 34s

Skipped

Tests Status
tests/common/vllm_test.py::TestTinkerAsyncAPIServer::test_api_async skipped ⏭️

Tests

Test Name Status Flaky Duration
tests/common/config_test.py::TestConfig::test_all_examples_are_valid 23.3s
tests/common/config_test.py::TestConfig::test_chat_template_path 79ms
tests/common/config_test.py::TestConfig::test_config_flatten 33ms
tests/common/config_test.py::TestConfig::test_continue_from_checkpoint_is_valid 469ms
tests/common/config_test.py::TestConfig::test_default_workflow 77ms
tests/common/config_test.py::TestConfig::test_load_default_config 1.3s
tests/common/config_test.py::TestConfig::test_max_token_len_per_gpu_set_correctly 78ms
tests/common/config_test.py::TestConfig::test_optimizer_config_propagation 78ms
tests/common/config_test.py::TestConfig::test_update_config_from_ray_cluster 1.4s
tests/common/experience_test.py::TestEID::test_eid_properties 1ms
tests/common/experience_test.py::TestExperience::test_action_mask_and_logprobs_type 1ms
tests/common/experience_test.py::TestExperience::test_assertions 1ms
tests/common/experience_test.py::TestExperience::test_deserialize_legacy_pickle_payload 1ms
tests/common/experience_test.py::TestExperience::test_deserialize_single_rejects_batch_payload 1ms
tests/common/experience_test.py::TestExperience::test_dpo_experience 1ms
tests/common/experience_test.py::TestExperience::test_hf_datasets_conversion 13ms
tests/common/experience_test.py::TestExperience::test_multi_turn_experience 1ms
tests/common/experience_test.py::TestExperience::test_serialize_deserialize 1ms
tests/common/experience_test.py::TestExperience::test_serialize_many_deserialize_many 1ms
tests/common/experience_test.py::TestExperience::test_serialize_many_with_shared_multimodal_tensor 1ms
tests/common/experience_test.py::TestExperience::test_single_turn_experience 1ms
tests/common/experience_test.py::TestExperience::test_to_dict 1ms
tests/common/experience_test.py::TestExperienceConversion::test_experience_model_experience_conversion 1ms
tests/common/external_model_test.py::TestExternalModel::test_external_model 50.5s
tests/common/external_model_test.py::TestExternalModelLoad::test_external_model_load 2.0s
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_first_message_is_assistant 833ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_messages_empty 505ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_no_assistant_messages 753ms
tests/common/models/utils_test.py::TestTokenizeAndMaskMessagesDefault::test_normal_conversation_data 504ms
tests/common/sudoku_test.py::test_9x9_generator_produces_valid_solution 1ms
tests/common/sudoku_test.py::test_9x9_generator_creates_holes 1ms
tests/common/sudoku_test.py::test_9x9_solution_is_fully_filled 1ms
tests/common/sudoku_test.py::test_judge_allows_incomplete_board 1ms
tests/common/sudoku_test.py::test_judge_detects_row_violation 1ms
tests/common/sudoku_test.py::test_judge_detects_column_violation 1ms
tests/common/sudoku_test.py::test_judge_detects_block_violation 1ms
tests/common/sudoku_test.py::test_4x4_generator_produces_valid_solution 1ms
tests/common/sudoku_test.py::test_4x4_solution_is_fully_filled 1ms
tests/common/sudoku_test.py::test_4x4_judge_detects_row_violation 1ms
tests/common/sudoku_test.py::test_4x4_judge_detects_block_violation 1ms
tests/common/vllm_test.py::ModelWrapperTest_0::test_generate 1m 3s
tests/common/vllm_test.py::ModelWrapperTest_1::test_generate 40.2s
tests/common/vllm_test.py::ModelWrapperTest_2::test_generate 47.5s
tests/common/vllm_test.py::TestModelLen_0::test_model_len 28.1s
tests/common/vllm_test.py::TestModelLen_1::test_model_len 24.0s
tests/common/vllm_test.py::TestModelLen_2::test_model_len 42.0s
tests/common/vllm_test.py::TestModelLenWithoutPromptTruncation::test_model_len 33.2s
tests/common/vllm_test.py::TestMessageProcess::test_no_prompt_truncation 26.9s
tests/common/vllm_test.py::TestMessageProcess::test_truncation_status 26.9s
tests/common/vllm_test.py::TestAPIServer::test_api 29.6s
tests/common/vllm_test.py::TestLogprobs::test_logprobs_api 24.0s
tests/common/vllm_test.py::TestAsyncAPIServer::test_api_async 25.4s
tests/common/vllm_test.py::TestTinkerAsyncAPIServer::test_api_async ⏭️ 1ms
tests/common/vllm_test.py::TestTokenizer::test_action_mask 595ms
tests/common/vllm_test.py::TestTokenizer::test_action_mask_with_tools 815ms
tests/common/vllm_test.py::TestAPIServerToolCall_0_deepseek_r1::test_api_tool_calls 32.6s
tests/common/vllm_test.py::TestAPIServerToolCall_1::test_api_tool_calls 26.1s
tests/common/vllm_test.py::TestSuperLongGeneration::test_generate 4m 32s
tests/common/vllm_test.py::TestTinkerAPI::test_tinker_api 43.3s

Github Test Reporter by CTRF 💚

@pan-x-c pan-x-c merged commit eb0ce06 into agentscope-ai:main Apr 7, 2026
2 checks passed
@chenyushuo
Copy link
Copy Markdown
Collaborator

/unittest-pattern-test_metric_calculation_with_non_repeatable_workflow_1

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
1 1 0 0 0 0 16.8s

Tests

Test Name Status Flaky Duration
tests/explorer/scheduler_test.py::SchedulerTest::test_metric_calculation_with_non_repeatable_workflow_1 7.9s

Github Test Reporter by CTRF 💚

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants