This commit is contained in:
Morgan 2024-02-09 21:13:40 +09:00
parent aa03abafae
commit 771cd98036
No known key found for this signature in database
3 changed files with 5 additions and 1 deletions

3
mark Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
sed -i "s/&&&BUILDVER&&&/$(date +'%Y%m%d-%H%M%S')/" src/lib/Sidebar.svelte

View File

@ -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 => {

View File

@ -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} />