Compare commits

...

6 Commits

3 changed files with 21 additions and 21 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,5 +1,5 @@
<application> <application>
<component name="CodeGPT_CustomServicesSettings"> <component name="CodeGPT_CustomServicesSettings">
<option name="services" value="[{&quot;id&quot;:&quot;4f24dc7f-3b57-4b87-b0ad-54b262916ae7&quot;,&quot;url&quot;:null,&quot;template&quot;:&quot;OPEN_ROUTER&quot;,&quot;chatCompletionSettings&quot;:{&quot;url&quot;:&quot;https://api.siliconflow.cn/v1/completions&quot;,&quot;body&quot;:{&quot;stream&quot;:true,&quot;model&quot;:&quot;meta-llama/llama-3.1-8b-instruct:free&quot;,&quot;messages&quot;:&quot;$OPENAI_MESSAGES&quot;,&quot;temperature&quot;:0.1,&quot;max_tokens&quot;:8192},&quot;headers&quot;:{&quot;X-LLM-Application-Tag&quot;:&quot;proxyai&quot;,&quot;Authorization&quot;:&quot;Bearer $CUSTOM_SERVICE_API_KEY&quot;,&quot;HTTP-Referer&quot;:&quot;https://tryproxy.io&quot;,&quot;X-Title&quot;:&quot;ProxyAI&quot;,&quot;Content-Type&quot;:&quot;application/json&quot;},&quot;modificationCount&quot;:23,&quot;equalToDefault&quot;:false},&quot;codeCompletionSettings&quot;:{&quot;codeCompletionsEnabled&quot;:true,&quot;parseResponseAsChatCompletions&quot;:false,&quot;infillTemplate&quot;:&quot;CODE_QWEN_2_5&quot;,&quot;url&quot;:&quot;https://api.siliconflow.cn/v1/completions&quot;,&quot;body&quot;:{&quot;suffix&quot;:&quot;$SUFFIX&quot;,&quot;stream&quot;:true,&quot;model&quot;:&quot;Qwen/Qwen3-Coder-30B-A3B-Instruct&quot;,&quot;temperature&quot;:0.1,&quot;prompt&quot;:&quot;$PREFIX&quot;,&quot;max_tokens&quot;:128},&quot;headers&quot;:{&quot;Authorization&quot;:&quot;Bearer $CUSTOM_SERVICE_API_KEY&quot;,&quot;X-LLM-Application-Tag&quot;:&quot;proxyai&quot;,&quot;Content-Type&quot;:&quot;application/json&quot;},&quot;modificationCount&quot;:19,&quot;equalToDefault&quot;:false},&quot;body&quot;:{},&quot;name&quot;:&quot;CodeCompletion&quot;,&quot;headers&quot;:{},&quot;modificationCount&quot;:64,&quot;equalToDefault&quot;:false},{&quot;id&quot;:&quot;cfdf9454-a195-4ff9-afcc-55536dd49506&quot;,&quot;url&quot;:null,&quot;template&quot;:&quot;OPEN_ROUTER&quot;,&quot;chatCompletionSettings&quot;:{&quot;url&quot;:&quot;https://openrouter.ai/api/v1/chat/completions&quot;,&quot;body&quot;:{&quot;stream&quot;:true,&quot;model&quot;:&quot;google/gemini-3.1-pro-preview&quot;,&quot;messages&quot;:&quot;$OPENAI_MESSAGES&quot;,&quot;temperature&quot;:0.1,&quot;max_tokens&quot;:16384},&quot;headers&quot;:{&quot;X-LLM-Application-Tag&quot;:&quot;proxyai&quot;,&quot;Authorization&quot;:&quot;Bearer $CUSTOM_SERVICE_API_KEY&quot;,&quot;HTTP-Referer&quot;:&quot;https://tryproxy.io&quot;,&quot;X-Title&quot;:&quot;ProxyAI&quot;,&quot;Content-Type&quot;:&quot;application/json&quot;},&quot;modificationCount&quot;:23,&quot;equalToDefault&quot;:false},&quot;codeCompletionSettings&quot;:{&quot;codeCompletionsEnabled&quot;:false,&quot;parseResponseAsChatCompletions&quot;:false,&quot;infillTemplate&quot;:&quot;OPENAI&quot;,&quot;url&quot;:&quot;https://openrouter.ai/api/v1/chat/completions&quot;,&quot;body&quot;:{&quot;suffix&quot;:&quot;$SUFFIX&quot;,&quot;stream&quot;:true,&quot;model&quot;:&quot;google/gemini-3.1-pro-preview&quot;,&quot;temperature&quot;:0.2,&quot;prompt&quot;:&quot;$PREFIX&quot;,&quot;max_tokens&quot;:24},&quot;headers&quot;:{&quot;Authorization&quot;:&quot;Bearer $CUSTOM_SERVICE_API_KEY&quot;,&quot;X-LLM-Application-Tag&quot;:&quot;proxyai&quot;,&quot;Content-Type&quot;:&quot;application/json&quot;},&quot;modificationCount&quot;:19,&quot;equalToDefault&quot;:false},&quot;body&quot;:{},&quot;name&quot;:&quot;ORChat&quot;,&quot;headers&quot;:{},&quot;modificationCount&quot;:64,&quot;equalToDefault&quot;:false}]" /> <option name="services" value="[{&quot;id&quot;:&quot;4f24dc7f-3b57-4b87-b0ad-54b262916ae7&quot;,&quot;url&quot;:null,&quot;template&quot;:&quot;OPEN_ROUTER&quot;,&quot;body&quot;:{},&quot;chatCompletionSettings&quot;:{&quot;url&quot;:&quot;https://api.siliconflow.cn/v1/completions&quot;,&quot;body&quot;:{&quot;stream&quot;:true,&quot;model&quot;:&quot;meta-llama/llama-3.1-8b-instruct:free&quot;,&quot;messages&quot;:&quot;$OPENAI_MESSAGES&quot;,&quot;temperature&quot;:0.1,&quot;max_tokens&quot;:8192},&quot;headers&quot;:{&quot;Authorization&quot;:&quot;Bearer $CUSTOM_SERVICE_API_KEY&quot;,&quot;X-LLM-Application-Tag&quot;:&quot;proxyai&quot;,&quot;HTTP-Referer&quot;:&quot;https://tryproxy.io&quot;,&quot;X-Title&quot;:&quot;ProxyAI&quot;,&quot;Content-Type&quot;:&quot;application/json&quot;},&quot;modificationCount&quot;:23,&quot;equalToDefault&quot;:false},&quot;codeCompletionSettings&quot;:{&quot;url&quot;:&quot;https://api.siliconflow.cn/v1/completions&quot;,&quot;codeCompletionsEnabled&quot;:true,&quot;body&quot;:{&quot;suffix&quot;:&quot;$SUFFIX&quot;,&quot;stream&quot;:true,&quot;model&quot;:&quot;Qwen/Qwen3-Coder-30B-A3B-Instruct&quot;,&quot;temperature&quot;:0.1,&quot;prompt&quot;:&quot;$PREFIX&quot;,&quot;max_tokens&quot;:128},&quot;parseResponseAsChatCompletions&quot;:false,&quot;infillTemplate&quot;:&quot;CODE_QWEN_2_5&quot;,&quot;headers&quot;:{&quot;Authorization&quot;:&quot;Bearer $CUSTOM_SERVICE_API_KEY&quot;,&quot;X-LLM-Application-Tag&quot;:&quot;proxyai&quot;,&quot;Content-Type&quot;:&quot;application/json&quot;},&quot;modificationCount&quot;:21,&quot;equalToDefault&quot;:false},&quot;name&quot;:&quot;CodeCompletion&quot;,&quot;headers&quot;:{},&quot;modificationCount&quot;:66,&quot;equalToDefault&quot;:false},{&quot;id&quot;:&quot;cfdf9454-a195-4ff9-afcc-55536dd49506&quot;,&quot;url&quot;:null,&quot;template&quot;:&quot;OPEN_ROUTER&quot;,&quot;body&quot;:{},&quot;chatCompletionSettings&quot;:{&quot;url&quot;:&quot;https://openrouter.ai/api/v1/chat/completions&quot;,&quot;body&quot;:{&quot;stream&quot;:true,&quot;model&quot;:&quot;google/gemini-3.1-pro-preview&quot;,&quot;messages&quot;:&quot;$OPENAI_MESSAGES&quot;,&quot;temperature&quot;:0.1,&quot;max_tokens&quot;:16384},&quot;headers&quot;:{&quot;Authorization&quot;:&quot;Bearer $CUSTOM_SERVICE_API_KEY&quot;,&quot;X-LLM-Application-Tag&quot;:&quot;proxyai&quot;,&quot;HTTP-Referer&quot;:&quot;https://tryproxy.io&quot;,&quot;X-Title&quot;:&quot;ProxyAI&quot;,&quot;Content-Type&quot;:&quot;application/json&quot;},&quot;modificationCount&quot;:23,&quot;equalToDefault&quot;:false},&quot;codeCompletionSettings&quot;:{&quot;url&quot;:&quot;https://openrouter.ai/api/v1/chat/completions&quot;,&quot;codeCompletionsEnabled&quot;:false,&quot;body&quot;:{&quot;suffix&quot;:&quot;$SUFFIX&quot;,&quot;stream&quot;:true,&quot;model&quot;:&quot;google/gemini-3.1-pro-preview&quot;,&quot;temperature&quot;:0.2,&quot;prompt&quot;:&quot;$PREFIX&quot;,&quot;max_tokens&quot;:24},&quot;parseResponseAsChatCompletions&quot;:false,&quot;infillTemplate&quot;:&quot;OPENAI&quot;,&quot;headers&quot;:{&quot;Authorization&quot;:&quot;Bearer $CUSTOM_SERVICE_API_KEY&quot;,&quot;X-LLM-Application-Tag&quot;:&quot;proxyai&quot;,&quot;Content-Type&quot;:&quot;application/json&quot;},&quot;modificationCount&quot;:19,&quot;equalToDefault&quot;:false},&quot;name&quot;:&quot;ORChat&quot;,&quot;headers&quot;:{},&quot;modificationCount&quot;:64,&quot;equalToDefault&quot;:false}]" />
</component> </component>
</application> </application>
+18 -18
View File
@@ -22,6 +22,23 @@
<option name="translationDialogLocationY" value="567" /> <option name="translationDialogLocationY" value="567" />
<option name="translationDialogWidth" value="1381" /> <option name="translationDialogWidth" value="1381" />
<histories> <histories>
<item value="If `cacheWidth` or `cacheHeight` are provided, they indicate to the engine that the image must be decoded at the specified size. The image will be rendered to the constraints of the layout or [width] and [height] regardless of these parameters. These parameters are primarily intended to reduce the memory usage of [ImageCache]." />
<item value="This will further optimize our widget by rebuilding it only when &quot;isAdult&quot; changed instead of whenever the age changes." />
<item value="NOTE: The function passed to [select] can return complex computations" />
<item value="This will cause our widget to rebuild only when `age` changes." />
<item value="If we used `ref.watch(``Consumer` as we normally would, this would cause widgets that only use `age` to still rebuild when `name` changes, which is inefficient." />
<item value="In this class, both `name` and `age` may change, but a widget may need only `age`." />
<item value="For example, consider the following `ChangeNotifier`:" />
<item value="The [select] function allows filtering unwanted rebuilds of a Widget by reading only the properties that we care about." />
<item value="Partially listen to a provider." />
<item value="put if absent" />
<item value="This is why the default value is false. Most of the time, when you change the image provider you're not just changing the image, you're removing the old widget and adding a new one and not expecting them to have any relationship. With [gaplessPlayback] on you might accidentally break this expectation and re-use the old widget." />
<item value="Option B ([gaplessPlayback] = true): The widget displays the avatar of the previous person and the name of the newly loaded person." />
<item value="Option A ([gaplessPlayback] = false): The new person's name is coupled with a blank image." />
<item value="We have constructed a 'Person' widget that displays an avatar [Image] of the currently loaded person along with their name. We could request for a new person to be loaded into the widget at any time. Suppose we have a person currently loaded and the widget loads a new person. What happens if the [Image] fails to load?" />
<item value="Having the default value of [gaplessPlayback] be false helps prevent situations where stale or misleading information might be presented. Consider the following case:" />
<item value="Why is the default value of [gaplessPlayback] false?" />
<item value="Whether to continue showing the old image (true), or briefly show nothing (false), when the image provider changes. The default value is false." />
<item value="过时" /> <item value="过时" />
<item value="Unknown field data, data for which there is no metadata for the associated field, will not be included." /> <item value="Unknown field data, data for which there is no metadata for the associated field, will not be included." />
<item value="The [typeRegistry] is be used for encoding `Any` messages. If an `Any` message encoding a type not in [typeRegistry] is encountered, an error is thrown." /> <item value="The [typeRegistry] is be used for encoding `Any` messages. If an `Any` message encoding a type not in [typeRegistry] is encountered, an error is thrown." />
@@ -55,27 +72,10 @@
<item value="Returns `true` if the signal is successfully delivered to the process. Otherwise the signal could not be sent, usually meaning that the process is already dead." /> <item value="Returns `true` if the signal is successfully delivered to the process. Otherwise the signal could not be sent, usually meaning that the process is already dead." />
<item value="Kills the process with id [pid]. Where possible, sends the [signal] to the process with id [pid]. This includes Linux and OS X. The default signal is [ProcessSignal.sigterm] which will normally terminate the process. On platforms without signal support, including Windows, the call just terminates the process with id [pid] in a platform specific way, and the [signal] parameter is ignored. Returns `true` if the signal is successfully delivered to the process. Otherwise the signal could not be sent, usually meaning that the process is already dead." /> <item value="Kills the process with id [pid]. Where possible, sends the [signal] to the process with id [pid]. This includes Linux and OS X. The default signal is [ProcessSignal.sigterm] which will normally terminate the process. On platforms without signal support, including Windows, the call just terminates the process with id [pid] in a platform specific way, and the [signal] parameter is ignored. Returns `true` if the signal is successfully delivered to the process. Otherwise the signal could not be sent, usually meaning that the process is already dead." />
<item value="On Linux and OS X a normal exit code will be a positive value in the range `[0..255]`. If the process was terminated due to a signal the exit code will be a negative value in the range `[-255..-1]`, where the absolute value of the exit code is the signal number. For example, if a process crashes due to a segmentation violation the exit code will be -11, as the signal SIGSEGV has the number 11." /> <item value="On Linux and OS X a normal exit code will be a positive value in the range `[0..255]`. If the process was terminated due to a signal the exit code will be a negative value in the range `[-255..-1]`, where the absolute value of the exit code is the signal number. For example, if a process crashes due to a segmentation violation the exit code will be -11, as the signal SIGSEGV has the number 11." />
<item value="battery" />
<item value="ensure battery state" />
<item value="batteries" />
<item value="electric quantity" />
<item value="请连接遥控器失败" />
<item value="special TTS voice" />
<item value="play connect remote control voice" />
<item value="interval select count" />
<item value="rb labels" />
<item value="right stick function lock" />
<item value="right sticker function lock" />
<item value="gamepads manager listener disposers" />
<item value="gamepads manager un listeners" />
<item value="Compares two maps for element-by-element equality. Returns true if the maps are both null, or if they are both non-null, have the same length, and contain the same keys associated with the same values. Returns false otherwise. If the elements are maps, lists, sets, or other collectionscomposite objects, then the contents of those elements are not compared element by element unless their equality operators ([Object.==]) do so. For checking deep equality, consider using the [DeepCollectionEquality] class. See also: [setEquals], which does something similar for sets. [listEquals], which does something similar for lists." />
<item value="rocker" />
<item value="Tools that recognize pragma hints should pick a pragma prefix to identify the tool. They should recognize any hint with a [name] starting with their prefix followed by `:` as if it was intended for that tool. A hint with a prefix for another tool should be ignored (unless compatibility with that other tool is a goal)." />
<item value="Marks a feature as [Deprecated] until the next release." />
</histories> </histories>
<option name="languageScores"> <option name="languageScores">
<map> <map>
<entry key="CHINESE_SIMPLIFIED" value="67" /> <entry key="CHINESE_SIMPLIFIED" value="68" />
<entry key="ENGLISH" value="68" /> <entry key="ENGLISH" value="68" />
</map> </map>
</option> </option>