Fix
This commit is contained in:
		
							parent
							
								
									aa03abafae
								
							
						
					
					
						commit
						771cd98036
					
				| 
						 | 
					@ -0,0 +1,3 @@
 | 
				
			||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					sed -i "s/&&&BUILDVER&&&/$(date +'%Y%m%d-%H%M%S')/" src/lib/Sidebar.svelte
 | 
				
			||||||
| 
						 | 
					@ -20,7 +20,7 @@ import {
 | 
				
			||||||
} from './Types.svelte'
 | 
					} from './Types.svelte'
 | 
				
			||||||
    import { getModelDetail, getTokens } from './Models.svelte'
 | 
					    import { getModelDetail, getTokens } from './Models.svelte'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const defaultModel:Model = 'gpt-3.5-turbo'
 | 
					const defaultModel:Model = 'gpt-4'
 | 
				
			||||||
const defaultModelPetals:Model = 'stabilityai/StableBeluga2'
 | 
					const defaultModelPetals:Model = 'stabilityai/StableBeluga2'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export const getDefaultModel = (): Model => {
 | 
					export const getDefaultModel = (): Model => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -35,6 +35,7 @@
 | 
				
			||||||
        <a class="navbar-item gpt-logo" href={'#/'}>
 | 
					        <a class="navbar-item gpt-logo" href={'#/'}>
 | 
				
			||||||
          <img src={logo} alt="ChatGPT-web" width="24" height="24" />
 | 
					          <img src={logo} alt="ChatGPT-web" width="24" height="24" />
 | 
				
			||||||
          <p class="ml-2 is-size-5 has-text-weight-bold">ChatGPT-web</p>
 | 
					          <p class="ml-2 is-size-5 has-text-weight-bold">ChatGPT-web</p>
 | 
				
			||||||
 | 
					          <p style="font-size:10px;" class="ml-2">&&&BUILDVER&&&</p>
 | 
				
			||||||
        </a>
 | 
					        </a>
 | 
				
			||||||
        <div class="chat-option-menu navbar-item is-pulled-right">
 | 
					        <div class="chat-option-menu navbar-item is-pulled-right">
 | 
				
			||||||
          <ChatOptionMenu bind:chatId={activeChatId} />
 | 
					          <ChatOptionMenu bind:chatId={activeChatId} />
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue