Skip to content

[FEATURE]Unsupported embedding provider: openrouter, supported providers: ['openai', 'azure', 'ollama', 'vertexai', 'google', 'cohere', 'voyageai', 'bedrock', 'huggingface', 'watson', 'custom'] #2451

Closed
@iniwap

Description

@iniwap

Feature Area

Core functionality

Is your feature request related to a an existing bug? Please link it here.

#2164

Describe the solution you'd like

i dont know,
return Agent(
config=self.agents_config["templater"],
verbose=True,
knowledge_sources=[text_source],
llm=llm,
embedder={
"provider": "openrouter",
"config": {
"model": self.use_model,
"api_key": self.use_key,
},
},
)

if not set embedder,error:ValueError: Invalid Knowledge Configuration: Please provide an OpenAI API key;if set embedder,not support openrouter,pls support openrouter

Describe alternatives you've considered

No response

Additional context

No response

Willingness to Contribute

No, I'm just suggesting the idea

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions