mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 03:46:52 +08:00
improve: CI experience (#5168)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import os
|
||||
from collections.abc import Iterable
|
||||
from time import sleep
|
||||
from typing import Any, Literal, Union
|
||||
|
||||
import anthropic
|
||||
@@ -64,7 +63,6 @@ class MockAnthropicClass:
|
||||
|
||||
index = 0
|
||||
for i in range(0, len(full_response_text)):
|
||||
sleep(0.1)
|
||||
yield ContentBlockDeltaEvent(
|
||||
type='content_block_delta',
|
||||
delta=TextDelta(text=full_response_text[i], type='text_delta'),
|
||||
|
||||
Reference in New Issue
Block a user