Skip to content

ERROR when add embed model in config #6212

Open
@AEONWANG

Description

@AEONWANG

Before submitting your bug report

Relevant environment info

- OS:windows 11
- Continue version: 1.0.21
- IDE version: pycharm 3.11
- Model:
- config:
  
  - name: Gemini-Embedder
    provider: Gemini
    model: models/text-embedding-004
    apiKey: XXX
    roles:
      - embed
    embedOptions:
      - maxChunkSize: 256
      - maxBatchSize: 5


  
  OR link to assistant in Continue hub:

Description

error pop up when add embed model in config.yaml:

Failed to parse assistant:
models.5: Invalid input
Error: Failed to parse assistant:
models.5: Invalid input
at Hxe (C:\snapshot\continue\binary\out\index.js:8016:76343)
at Ipa (C:\snapshot\continue\binary\out\index.js:8019:1206)
at Frn (C:\snapshot\continue\binary\out\index.js:8019:1074)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async c2c (C:\snapshot\continue\binary\out\index.js:9104:8082)
at async SUi (C:\snapshot\continue\binary\out\index.js:9109:1069)
at async PXe (C:\snapshot\continue\binary\out\index.js:9109:2006)
at async A.doLoadConfig (C:\snapshot\continue\binary\out\index.js:9109:5251)
at async C:\snapshot\continue\binary\out\index.js:9109:8075

To reproduce

No response

Log output

Metadata

Metadata

Labels

area:configurationRelates to configuration optionside:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions