Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Expanding Function calling #3615

Open
2 tasks done
Tracked by #3634
ily-R opened this issue Jan 6, 2025 · 3 comments
Open
2 tasks done
Tracked by #3634

Expanding Function calling #3615

ily-R opened this issue Jan 6, 2025 · 3 comments
Assignees
Labels
area:configuration Relates to configuration options kind:enhancement Indicates a new feature request, imrovement, or extension "needs-triage"

Comments

@ily-R
Copy link

ily-R commented Jan 6, 2025

Validations

  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement

Problem

I wanted to use function calling with claude 3.5 sonnet, but going through another serverless api provider. I defined My model as follows:

  "models": [
    {
      "model": "claude-3-5-sonnet-20240620",
      "title": "Claude 3.5 Sonnet",
      "apiKey": "api-key"
      "provider": "anthropic"
    },
    {
      "title": "My model",
      "provider": "openai",
      "model": "assistant:ContinueModel-claude-3-5-sonnet",
      "apiKey": "api-key",
      "apiBase": "https://api.serverX.ai"
    },

Even though the model I am using under the hood through my api is anthropic.claude-3.5-sonnet-v2 from AWS Bedrock I still don't have the Tools option working because you seem to have a condition that the provider has to be anthropic.

Solution

It will be nice if any Anthropic model message should be passed through Anthropic.ts wether it's coming through the Anthropic api itself or any other providers like Bedrock or openai in my case.

@sestinj sestinj self-assigned this Jan 6, 2025
@dosubot dosubot bot added area:configuration Relates to configuration options kind:enhancement Indicates a new feature request, imrovement, or extension labels Jan 6, 2025
@mmaist
Copy link

mmaist commented Jan 8, 2025

+1, same issue when using claude-3.5-sonnet through aws

@RomneyDa RomneyDa mentioned this issue Jan 10, 2025
10 tasks
@VikashLoomba
Copy link

+1, Would be nice to have tools configurable via the config. It would be a huge positive to expand tool use to compatible open source models as well.

@dseeker
Copy link

dseeker commented Feb 6, 2025

there's no reason to "take away" tools because they are not listed
models are being updated every week, the tools should be open to all models, no reason to gatekeep.

the extension could instead, like lm studio does, have an icon showing the model is known to work with tools, but still allow us to decide for ourselves to use it or not.
https://github.com/continuedev/continue/blob/main/core/llm/toolSupport.ts#L1

On Cline I use AWS Bedrock but also use LMStudio with many models that were trained and even others who weren't.
On Continue I can't even get tool use with LMStudio at all, makes no sense

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area:configuration Relates to configuration options kind:enhancement Indicates a new feature request, imrovement, or extension "needs-triage"
Projects
None yet
Development

No branches or pull requests

5 participants