Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Expanding Function calling #3615

Open
2 tasks done
ily-R opened this issue Jan 6, 2025 · 1 comment
Open
2 tasks done

Expanding Function calling #3615

ily-R opened this issue Jan 6, 2025 · 1 comment
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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

3 participants