+
    i  c                   s:    ^ RI t ^ RIHtHtHt  ! R R]]4      tR# )i    N)PluginIndependentPlugin	PluginOptc                   s   a  ] tR t^t o RtR tRtRtRtRt	]
! RR]RR7      ]
! RR]R	R7      ]
! R
RRR7      .tR tRtV tR# )Instructlaba,  
This plugin is used to capture information about
Instructlab installations.
InstructLab is an open source project for enhancing
large language models (LLMs) used in generative
artificial intelligence (gen AI) applications.
Instructlab can run either as a container, or directly
outside a container.
instructlab	ilab-userz
cloud-userzuser that runs instructlab)defaultZval_typedescilab-conf-dirZ zinstructlab data directory	get-cacheFz#Capture models and osci cached data)r   r   c           	     s*   R pRpRpRpRpV P                  W#4      pV P                  W$4      pV P                  W%4      pV P                  V P                  VR4      V P                  VR4      V P                  VR4      V P                  VR4      .4       . ROp	. ROp
 V P                  R	4      ^ ,          ^,          pV P	                  V R2V R2.VR7       T P	                  V
 Uu. uF  pV P                  W4      NK  	  upVR7       T P                  V	 Uu. uF  pRV 2NK
  	  upVR7       V P                  VRVR7       V P                  R4      '       d   V P	                  V VR7       V P                  \        V P                  4      4       V P                  R4      p \        P                  ! V4      pT'       Ed   TP                  pT P                  R4      '       d"   T P                  TT P                  R4      4      pT P                  TT4      pT P	                  T P                  TT4      4       T P	                  T
 Uu. uF  pT P                  TT4      NK  	  up4       T P                  T P                  TT4      RR7       T P                  R4      '       d$   T P	                  T P                  TT4      4       R
# R
# R
#   \         d    R
p EL i ; iu upi u upi   \         d    T P                  RT R24        R
# i ; iu upi )z/usr/share/instructlab/configz/opt/app-root/srcz.cache/instructlabz.config/instructlabz.local/share/instructlabztaxonomy/.gitztaxonomy/.githubz*src/.local/share/instructlab/taxonomy/.gitz-src/.local/share/instructlab/taxonomy/.githubzinstructlab*Nz/rhel_ai_config.yamlz/config.yaml)	containerzilab T)	recursiver
   r	   r   zUser "z" does not exist, will not collect Instructlab information. Use `-k instructlab.ilab-user` option to define the user to use to collect data for Instructlabr   )r   )ztaxonomy diffz#taxonomy diff --taxonomy-base=emptyzsystem infoz
model listzconfig show)	ZdataZ	generatedZtaxonomyZtaxonomy_dataZchatlogsZcheckpointsZdatasetsZinternalZphased)Z	path_joinZadd_forbidden_pathZget_all_containers_by_regexZ	ExceptionZadd_copy_specZadd_cmd_outputZadd_dir_listingZ
get_optionZadd_container_logsZlist
containerspwdZgetpwnamZKeyErrorZ	_log_warnZpw_dir)ZselfZcont_share_conf_pathZcont_opt_pathZ	cache_dirZ
config_dirZlocal_share_dirZcont_cache_pathZcont_config_pathZcont_local_pathZsubcmdsZ	data_dirsZilab_conZdata_dirZsubZ	ilab_userZuser_pwdZilab_dirZdata_dirs_bases   &                 C/usr/lib/python3.14/site-packages/sos/report/plugins/instructlab.pysetupZInstructlab.setup)   sI   >+ )	 +
 5 ..B>>-D..HNN?*,NN?,>?NN=GINN=JL!
 	


		77GJ1MH 	$%%9: !.0 	 	

 	&(& ^^O6&( 	 	

 	&-.gsuSE]g. 	 	
 	 	 	

 ??;''"#"   	T__ 56OOK0			||I.H 8H//>>dooo> "^^HoFNt~~h
CD )  )H ~x8 )     x3 ! 
 {++""NN8Y7 ,% S  	H	(
 /$  	NN $B BC
 	$ s6   K %KK$#K) LKK) LL N)Zai)r   ilab)r   )Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__Z
short_descZplugin_nameZprofilesr   Zcommandsr   ZstrZoption_listr   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      sk      JKH)JH 	+|c3	5/23	5+u<	>Ks s    r   )r   Zsos.report.pluginsr    r   r   r   r   r   r   <module>r      s!     C CM&+ Mr   