Commit log 
  
  
  
    
      2e53c78 
      refactor: move each provider into its own package
     
    
    
    
      Click to expand commit body 
      Reasoning for this is:
1. Users can import only those they want, and the Go compiler won't
  compile the external library the user don't need.
2. This simplify the API and makes it follow the Go conventions better:
  * `ai.NewOpenAiProvider` -> `openai.New`
  * `ai.WithOpenAiAPIKey` -> `openai.WithAPIKey`
  * etc. 
     
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      66fbbb0 
      refactor: json check func should not be part of the public api
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      67080cf 
      refactor: declare func types for agent callbacks
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      6580e7f 
      fix(examples): improve sdk examples
     
    
    
    
      Click to expand commit body 
      * Check errors where we weren't checking them
* Exit with status 1 on errors 
     
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      bd29644 
      refactor: simplify code with `cmp.Or`
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      7f1ec14 
      lint: temporarily disable some linters
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      36ea7d1 
      lint: preallocate slices
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      bca935d 
      lint: fix `errcheck` issues
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      97790da 
      lint: fix uneeded conversion
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      a40ebcf 
      lint: fix auto-fixable issues
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      27c1052 
      chore: add basic taskfile
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      1c22f39 
      ci: initial setup for lint
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      68fa858 
      ci: initial setup for build
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      e598546 
      chore: add `.editorconfig`
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      62b1df6 
      chore: add `.gitignore`
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      a306114 
      chore: add a `go.mod` and update imports
     
    
    
     
       
       
       
         
         Andrey Nering 
       
       created
       2 months ago 
     
   
  
  
    
      e00d646 
      chore: small fix for anthropic tool choice
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      b416305 
      wip: update agent to use the new ai-sdk
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      a031cc0 
      chore: change callback signature
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      07120ff 
      chore: rename vars
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      66da55c 
      fix: fix openai tests
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      bb49508 
      chore: change the provider interface
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      965e1cb 
      feat: anthropic provider
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      ab3ccec 
      chore: agent improvements
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      c884f0d 
      chore: small openai provider changes
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      6ab9581 
      chore: create new agent
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      133dbc7 
      chore: rename tool func
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      c943dd8 
      chore: test schema generation
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      fa6f616 
      feat: migrate tools
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      d8f2f21 
      feat: add new tool definitions
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      63ea21f 
      chore: move examples
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      13feb85 
      feat: streaming agent
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      2cf2b19 
      feat: tool repair and more stop conditions
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      a719de4 
      chore: add tests
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      fac7796 
      feat: initial agent implementation
     
    
    
    
      Click to expand commit body 
      still need to setup streaming 
     
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      a900a6e 
      chore: remove config dependency
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
    
      cdee960 
      feat: initial ai-sdk implementation
     
    
    
     
       
       
       
         
         Kujtim Hoxha 
       
       created
       2 months ago 
     
   
  
  
  
    Page 4 of 4