File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11[tool .poetry ]
22name  = " zai-sdk" 
3- version  = " 0.0.3.5 " 
3+ version  = " 0.0.3.6 " 
44description  = " A SDK library for accessing big model apis from Z.ai" 
55authors  = [" Z.ai" 
66readme  = " README.md" 
Original file line number Diff line number Diff line change 11__title__  =  'Z.ai' 
2- __version__  =  '0.0.3.5 ' 
2+ __version__  =  '0.0.3.6 ' 
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ def web_search(
4242		search_recency_filter : Optional [str ] |  NotGiven  =  NOT_GIVEN ,
4343		content_size : Optional [str ] |  NotGiven  =  NOT_GIVEN ,
4444		search_intent : Optional [bool ] |  NotGiven  =  NOT_GIVEN ,
45- 		extra_headers : Headers  |  None  =  None ,
45+         include_image : Optional [bool ] |  NotGiven  =  NOT_GIVEN ,
46+         extra_headers : Headers  |  None  =  None ,
4647		extra_body : Body  |  None  =  None ,
4748		timeout : float  |  httpx .Timeout  |  None  |  NotGiven  =  NOT_GIVEN ,
4849	) ->  WebSearchResp :
@@ -58,6 +59,7 @@ def web_search(
5859				'search_recency_filter' : search_recency_filter ,
5960				'content_size' : content_size ,
6061				'search_intent' : search_intent ,
62+                 'include_image' : include_image 
6163			}
6264		)
6365		return  self ._post (
Original file line number Diff line number Diff line change 1- from  typing  import  Optional 
1+ from  typing  import  Optional , List 
22
33from  zai .core  import  BaseModel 
44
@@ -39,6 +39,7 @@ class SearchResultResp(BaseModel):
3939	media : str 
4040	refer : str 
4141	publish_date : str 
42+ 	images : List [str ]
4243
4344
4445class  WebSearchResp (BaseModel ):
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments