mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Merge pull request #1032 from StefanDanielSchwarz/show-model-info-on-model-icon
Add model info to model icon as title
This commit is contained in:
		@@ -1324,6 +1324,7 @@ function insertSVGIcon(mes, extra) {
 | 
			
		||||
    // Add classes for styling and identification
 | 
			
		||||
    image.classList.add('icon-svg', 'timestamp-icon');
 | 
			
		||||
    image.src = `/img/${modelName}.svg`;
 | 
			
		||||
    image.title = `${extra?.api ? extra.api + ' - ' : ''}${extra?.model ?? ''}`;
 | 
			
		||||
 | 
			
		||||
    image.onload = async function () {
 | 
			
		||||
        // Check if an SVG already exists adjacent to the timestamp
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user