Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ src/

The extension supports multiple AI providers:

- **Web (cookie-based)**: ChatGPT (Web), Claude (Web), Kimi.Moonshot (Web), Bing (Web), Bard (Web), Poe (Web)
- **Web (cookie-based)**: ChatGPT (Web), Claude (Web), Kimi.Moonshot (Web), Bing (Web), Bard (Web)
- **APIs (key-based)**: OpenAI (API), Azure OpenAI (API), Anthropic (Claude API), OpenRouter (API), AI/ML (API), DeepSeek (API), Ollama (local), ChatGLM (API), Waylaidwanderer (API), Kimi.Moonshot (API)
- **Custom/self-hosted**: Alternative endpoints and self-hosted backends

Expand Down
4 changes: 0 additions & 4 deletions build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,6 @@ async function runWebpack(isWithoutKatex, isWithoutTiktoken, minimal, sourceBuil
test: /\.(jpg|png|svg)$/,
type: 'asset/inline',
},
{
test: /\.(graphql|gql)$/,
loader: 'graphql-tag/loader',
},
isWithoutTiktoken
? {
test: /crop-text\.mjs$/,
Expand Down
59 changes: 0 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,14 @@
"buffer": "^6.0.3",
"countries-list": "^2.6.1",
"crypto-browserify": "^3.12.1",
"diff": "^5.2.2",
"file-saver": "^2.0.5",
"github-markdown-css": "^5.9.0",
"gpt-3-encoder": "^1.1.4",
"graphql": "^16.9.0",
"i18next": "^22.5.1",
"js-sha3": "^0.9.3",
"jsonwebtoken": "9.0.2",
"katex": "^0.16.11",
"lodash-es": "^4.17.21",
"md5": "^2.3.0",
"parse5": "^6.0.1",
"preact": "^10.22.1",
"process": "^0.11.10",
Expand Down Expand Up @@ -91,7 +88,6 @@
"eslint": "^8.57.1",
"eslint-plugin-react": "^7.37.5",
"fs-extra": "^11.2.0",
"graphql-tag": "^2.12.6",
"jsdom": "^28.1.0",
"less-loader": "^11.1.4",
"mini-css-extract-plugin": "^2.10.2",
Expand Down
39 changes: 0 additions & 39 deletions src/config/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { isMobile } from '../utils/is-mobile.mjs'
import {
getApiModesFromConfig,
isInApiModeGroup,
isUsingModelName,
modelNameToDesc,
reconcileMaterializedApiModeDefaults,
} from '../utils/model-name-convert.mjs'
Expand Down Expand Up @@ -108,21 +107,6 @@ export const chatglmApiModelKeys = [
'chatglm4Long',
]
export const githubThirdPartyApiModelKeys = ['waylaidwandererApi']
export const poeWebModelKeys = [
'poeAiWebSage', //poe.com/Assistant
'poeAiWebGPT4',
'poeAiWebGPT4_32k',
'poeAiWebClaudePlus',
'poeAiWebClaude',
'poeAiWebClaude100k',
'poeAiWebCustom',
'poeAiWebChatGpt',
'poeAiWebChatGpt_16k',
'poeAiWebGooglePaLM',
'poeAiWeb_Llama_2_7b',
'poeAiWeb_Llama_2_13b',
'poeAiWeb_Llama_2_70b',
]
export const moonshotApiModelKeys = [
'moonshot_k2_5',
'moonshot_kimi_latest',
Expand Down Expand Up @@ -417,20 +401,6 @@ export const Models = {
azureOpenAi: { value: '', desc: 'Azure OpenAI' },
waylaidwandererApi: { value: '', desc: 'Waylaidwanderer API (Github)' },

poeAiWebSage: { value: 'Assistant', desc: 'Poe AI (Web, Assistant)' },
poeAiWebGPT4: { value: 'gpt-4', desc: 'Poe AI (Web, GPT-4)' },
poeAiWebGPT4_32k: { value: 'gpt-4-32k', desc: 'Poe AI (Web, GPT-4-32k)' },
poeAiWebClaudePlus: { value: 'claude-2-100k', desc: 'Poe AI (Web, Claude 2 100k)' },
poeAiWebClaude: { value: 'claude-instant', desc: 'Poe AI (Web, Claude instant)' },
poeAiWebClaude100k: { value: 'claude-instant-100k', desc: 'Poe AI (Web, Claude instant 100k)' },
poeAiWebGooglePaLM: { value: 'Google-PaLM', desc: 'Poe AI (Web, Google-PaLM)' },
poeAiWeb_Llama_2_7b: { value: 'Llama-2-7b', desc: 'Poe AI (Web, Llama-2-7b)' },
poeAiWeb_Llama_2_13b: { value: 'Llama-2-13b', desc: 'Poe AI (Web, Llama-2-13b)' },
poeAiWeb_Llama_2_70b: { value: 'Llama-2-70b', desc: 'Poe AI (Web, Llama-2-70b)' },
poeAiWebChatGpt: { value: 'chatgpt', desc: 'Poe AI (Web, ChatGPT)' },
poeAiWebChatGpt_16k: { value: 'chatgpt-16k', desc: 'Poe AI (Web, ChatGPT-16k)' },
poeAiWebCustom: { value: '', desc: 'Poe AI (Web, Custom)' },

moonshot_k2_5: {
value: 'kimi-k2.5',
desc: 'Kimi.Moonshot (Kimi K2.5)',
Expand Down Expand Up @@ -795,8 +765,6 @@ export const defaultConfig = {
azureEndpoint: '',
azureDeploymentName: '',

poeCustomBotName: '',

anthropicApiKey: '',
chatglmApiKey: '',
moonshotApiKey: '',
Expand Down Expand Up @@ -1039,13 +1007,6 @@ export function isUsingCustomModel(configOrSession) {
return isInApiModeGroup(customApiModelKeys, configOrSession)
}

/**
* @deprecated
*/
export function isUsingCustomNameOnlyModel(configOrSession) {
return isUsingModelName('poeAiWebCustom', configOrSession)
}

export async function getPreferredLanguageKey() {
const config = await getUserConfig()
if (config.preferredLanguage === 'auto') return config.userLanguage
Expand Down
1 change: 0 additions & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"https://*.chatgpt.com/*",
"https://*.openai.com/*",
"https://*.bing.com/*",
"https://*.poe.com/*",
"https://*.google.com/*",
"https://claude.ai/*",
"https://*.moonshot.cn/*",
Expand Down
1 change: 0 additions & 1 deletion src/manifest.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"https://*.openai.com/",
"https://*.bing.com/",
"wss://*.bing.com/*",
"https://*.poe.com/",
"https://*.google.com/",
"https://claude.ai/",
"https://*.moonshot.cn/*",
Expand Down
50 changes: 0 additions & 50 deletions src/services/apis/poe-web.mjs

This file was deleted.

52 changes: 0 additions & 52 deletions src/services/clients/poe/graphql/AddHumanMessageMutation.graphql

This file was deleted.

17 changes: 0 additions & 17 deletions src/services/clients/poe/graphql/AddMessageBreakMutation.graphql

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions src/services/clients/poe/graphql/BioFragment.graphql

This file was deleted.

This file was deleted.

Loading