소스 검색

fix: remove the stream option of zhipu and gemini (#9319)

非法操作 6 달 전
부모
커밋
da25b91980
26개의 변경된 파일0개의 추가작업 그리고 234개의 파일을 삭제
  1. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash-001.yaml
  2. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash-002.yaml
  3. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash-8b-exp-0827.yaml
  4. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash-8b-exp-0924.yaml
  5. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash-exp-0827.yaml
  6. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash-latest.yaml
  7. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash.yaml
  8. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-pro-001.yaml
  9. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-pro-002.yaml
  10. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-pro-exp-0801.yaml
  11. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-pro-exp-0827.yaml
  12. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-pro-latest.yaml
  13. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-1.5-pro.yaml
  14. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-pro-vision.yaml
  15. 0 9
      api/core/model_runtime/model_providers/google/llm/gemini-pro.yaml
  16. 0 9
      api/core/model_runtime/model_providers/zhipuai/llm/chatglm_turbo.yaml
  17. 0 9
      api/core/model_runtime/model_providers/zhipuai/llm/glm-4-0520.yaml
  18. 0 9
      api/core/model_runtime/model_providers/zhipuai/llm/glm-4-air.yaml
  19. 0 9
      api/core/model_runtime/model_providers/zhipuai/llm/glm-4-airx.yaml
  20. 0 9
      api/core/model_runtime/model_providers/zhipuai/llm/glm-4-flash.yaml
  21. 0 9
      api/core/model_runtime/model_providers/zhipuai/llm/glm_3_turbo.yaml
  22. 0 9
      api/core/model_runtime/model_providers/zhipuai/llm/glm_4.yaml
  23. 0 9
      api/core/model_runtime/model_providers/zhipuai/llm/glm_4_long.yaml
  24. 0 9
      api/core/model_runtime/model_providers/zhipuai/llm/glm_4_plus.yaml
  25. 0 9
      api/core/model_runtime/model_providers/zhipuai/llm/glm_4v.yaml
  26. 0 9
      api/core/model_runtime/model_providers/zhipuai/llm/glm_4v_plus.yaml

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash-001.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash-002.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash-8b-exp-0827.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash-8b-exp-0924.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash-exp-0827.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash-latest.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-flash.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-pro-001.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-pro-002.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-pro-exp-0801.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-pro-exp-0827.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-pro-latest.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-1.5-pro.yaml

@@ -32,15 +32,6 @@ parameter_rules:
     max: 8192
     max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-pro-vision.yaml

@@ -27,15 +27,6 @@ parameter_rules:
     default: 4096
     default: 4096
     min: 1
     min: 1
     max: 4096
     max: 4096
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

+ 0 - 9
api/core/model_runtime/model_providers/google/llm/gemini-pro.yaml

@@ -31,15 +31,6 @@ parameter_rules:
     max: 2048
     max: 2048
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
-  - name: stream
-    label:
-      zh_Hans: 流式输出
-      en_US: Stream
-    type: boolean
-    help:
-      zh_Hans: 流式输出允许模型在生成文本的过程中逐步返回结果,而不是一次性生成全部结果后再返回。
-      en_US: Streaming output allows the model to return results incrementally as it generates text, rather than generating all the results at once.
-    default: false
 pricing:
 pricing:
   input: '0.00'
   input: '0.00'
   output: '0.00'
   output: '0.00'

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 9
api/core/model_runtime/model_providers/zhipuai/llm/chatglm_turbo.yaml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 9
api/core/model_runtime/model_providers/zhipuai/llm/glm-4-0520.yaml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 9
api/core/model_runtime/model_providers/zhipuai/llm/glm-4-air.yaml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 9
api/core/model_runtime/model_providers/zhipuai/llm/glm-4-airx.yaml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 9
api/core/model_runtime/model_providers/zhipuai/llm/glm-4-flash.yaml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 9
api/core/model_runtime/model_providers/zhipuai/llm/glm_3_turbo.yaml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 9
api/core/model_runtime/model_providers/zhipuai/llm/glm_4.yaml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 9
api/core/model_runtime/model_providers/zhipuai/llm/glm_4_long.yaml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 9
api/core/model_runtime/model_providers/zhipuai/llm/glm_4_plus.yaml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 9
api/core/model_runtime/model_providers/zhipuai/llm/glm_4v.yaml


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 9
api/core/model_runtime/model_providers/zhipuai/llm/glm_4v_plus.yaml